I have my company's blog at http://blog.analytixsolutions.com and now I've moved it to http://blog.aixsol.com but I have the URLs still pointing to the former address.
I used the commonly recommended search and replace plugin to change the URLs in the backend.
I also fired the following queries in phpmyadmin without any success.
UPDATE wp_options SET option_value = replace(option_value, 'OLDURL', 'NEWURL') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE wp_posts SET guid = replace(guid, 'OLDURL','NEWURL');
UPDATE wp_posts SET post_content = replace(post_content, 'OLDURL', 'NEWURL');
UPDATE wp_postmeta SET meta_value = replace(meta_value,'OLDURL','NEWURL');
What am I doing wrong here? This is the tried and tested technique I've used to migrate a lot many other sites prior to this.
WP_SITEURL
orWP_HOME
is set in yourwp-config.php
file? If they aren't, could you use PHPMyAdmin to check whether the options withoption_name
siteurl
andhome
are both set to the new URL?WP_SITEURL
orWP_HOME
(constants) is set in your wp-config.php file?site_url( '/' );
and posting here what it displays?