loading
I currently have availability
logo

Hi, I'mKevin Shoffner

How to Move WordPress Site to New Host

From time to time, I have clients who want to and questions about how to move WordPress site to new host.  In this brief walk through I will show you the quickest and easiest method I use that in 99.999% of the cases work perfectly.  I don’t ever find a reason to use bloated plugins to do a migration and I would recommend you avoid that when possible, but if you are uncomfortable with the below steps after reading them, then maybe a plugin is your way to go – just remember to remove the plugin afterwards.

How to move WordPress Site to New Host

UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldurl', 'http://www.newurl') WHERE option_name = 'home' OR option_name = 'siteurl';

UPDATE wp_posts SET guid = replace(guid, 'http://www.oldurl','http://www.newurl');

UPDATE wp_posts SET post_content = replace(post_content, 'http://www.oldurl', 'http://www.newurl');

UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.oldurl','http://www.newurl');

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: