When moving WordPress websites from one domain to another, this tool is a great time saver. Just generate the queries and run them in MySQL.

UPDATE wp_options SET option_value = REPLACE(option_value, 'http://olddomain.com', 'http://newdomain.com') WHERE option_name = 'home' OR option_name = 'siteurl'; UPDATE wp_posts SET post_content = REPLACE (post_content, 'http://olddomain.com', 'http://newdomain.com'); UPDATE wp_postmeta SET meta_value = REPLACE (meta_value, 'http://olddomain.com','http://newdomain.com'); UPDATE wp_comments SET comment_content = REPLACE (comment_content, 'http://olddomain.com', 'http://newdomain.com'); UPDATE wp_comments SET comment_author_url = REPLACE (comment_author_url, 'http://olddomain.com','http://newdomain.com'); UPDATE wp_posts SET guid = REPLACE (guid, 'http://olddomain.com', 'http://newdomain.com') WHERE post_type = 'attachment';

By |2020-07-29T12:31:31+05:30December 3rd, 2019|Latest Articles|
Open chat