Zum Inhalt springen

Wordpress Domain ändern: Unterschied zwischen den Versionen

Aus Computech CMS Wiki
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
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
Daten bei <code>wp-config.php</code> änndern
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');

Aktuelle Version vom 3. August 2022, 08:18 Uhr

Daten bei wp-config.php änndern 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');