phpmyadmin_wordpress_mediadatenNach einem WordPress umzug auf eine andere URL Domain, müsst ihr in der Datenbank folgenden Befehl ausführen um die Adressen auch bei den Mediadaten zu ändern

Ihr müsste den Code an Eure URLS anpassen

 

Erster Schritt

UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') 
WHERE option_name = 'home' OR option_name = 'siteurl';

 

Zweiter Schritt

UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com');

 

Dritter Schritt

UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');

 

 

AncoraThemes © Copyright 2024. All Rights Reserved.