Wordpress Domain ändern: Unterschied zwischen den Versionen
Erscheinungsbild
Die Seite wurde neu angelegt: „<syntaxhighlight line='line' lang="mysql"> UPDATE wp_options SET option_value = replace(option_value, 'Existing URL', 'New URL'); UPDATE wp_posts SET post_cont…“ |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
Bei der Datenbank folgenden Befehl ausführen - (placeholder ersetzen) | |||
<syntaxhighlight line='line' lang="mysql"> | <syntaxhighlight line='line' lang="mysql"> | ||
UPDATE wp_options SET option_value = replace(option_value, 'Existing URL', 'New URL'); | UPDATE wp_options SET option_value = replace(option_value, 'Existing URL', 'New URL'); | ||
Version vom 3. August 2022, 08:10 Uhr
Bei der Datenbank folgenden Befehl ausführen - (placeholder ersetzen)
UPDATE wp_options SET option_value = replace(option_value, 'Existing URL', 'New URL');
UPDATE wp_posts SET post_content = replace(post_content, 'Existing URL', 'New URL');
UPDATE wp_postmeta SET meta_value = replace(meta_value,'Existing URL','New URL');
UPDATE wp_usermeta SET meta_value = replace(meta_value, 'Existing URL','New URL');
UPDATE wp_links SET link_url = replace(link_url, 'Existing URL','New URL');
UPDATE wp_comments SET comment_content = replace(comment_content , 'Existing URL','New URL');