As the WordPress domain name is stored in the database, so in order to bring new domain name and blog link, you must change the database, use the following command to modify:
Code:
UPDATE wp_options SET option_value = replace (option_value, 'http://www.oldsite.com', 'http://www.newsite.com') WHERE option_name = 'home' OR option_name = 'siteurl';
Use the following statement to replace all of the log of the relative URL (guid Globally Unique Identifier)
Code:
UPDATE wp_posts SET guid = replace (guid, 'http://www.oldsite.com', 'http://www.newsite.com');
Search wp_posts table and replace one of the URL, in order to ensure that no old URL exists:
Code:
UPDATE wp_posts SET post_content = replace (post_content, 'http://www.oldsite.com', 'http://www.newsite.com');
Bookmarks