Lee Odden

How To Move a WordPress Blog

Lee Odden     Blogging Strategy

Moving WordPressHaving recently moved a few WordPress blogs from one host to another, I thought I’d write up a quick ho-to. It’s actually quite painless.

The first thing you need to know is that you are moving your blog, not re-installing it. Don’t attempt to re-install WordPress as that may cause more issues.

Step 1 – Backup
It’s very important to backup your files and database. Files can be gotten via a FTP client and here are instructions on backing up your blog posts.

Step2 – Upload Files
When uploading your files to the new host, make sure to either upload the files you backed up, or upload the exact same version of WordPress you are running on the old host. You can get your WordPress version number at the bottom of any admin page.

Step 3 – Upload Database
Most web hosts come with a control panel area that gives the user access to phpMyAdmin for managing databases. Other hosts give instructions on how to connect to your database from a desktop application. Either way, connect to your new database. If you feel lost on this step, contact your web host for details on how to connect to your database.

Next, find the backup file from step 1. More than likely it’s saved with .sql.gz at the end. Once de-compressed, you should be left with a file that ends in .sql. This file can now be imported into your new database.

Step 4 – Update Config File
In order for WordPress to connect to your database, you have to put your new database name, username and password in wp-config.php.

Step 5 – Test
That should do it. Everything should be functional and your blog should have been resurrected on the new host.

One thing to consider is that if you are moving your WordPress blog onto a new host, and the domain hasn’t been transferred yet, you’ll need to update your WordPress settings so it doesn’t keep jumping out to the old host. You can do this by changing the WordPress address under the Options tab. Don’t forget to change it back once the domain does get transferred over.

Another thing to consider is plugin compatibility.  The last blog move I did had two plugins that were causing issues.  The new host may be more secure or have fewer advanced features turned on, either way, turning off the plugins fixed the issue.

Moving a WordPress blog from one host to another is quite easy. You don’t have to re-install anything, you just have to move the files and data, update one file and enjoy.

PoorSo SoOKGoodAwesome (No Ratings Yet)

Lee Odden About Lee Odden

@LeeOdden is the CEO of TopRank Marketing and editor of Online Marketing Blog. Cited for his expertise by The Economist, Forbes and the Wall Street Journal, he's the author of the book Optimize and presents internationally on B2B marketing topics including content, search, social media and influencer marketing. When not at conferences, consulting, or working with his talented team, he's likely running, traveling or cooking up something new.


  1. I wish you had written this about a month ago. About 4 weeks ago, as the webmaster and tech support for http://www.BakriMusa.com, I took on the task of migrating WordPress from Globat to Bluehost. The steps you outlined are almost very similar to what I executed (there were a lot of trial-and-error steps in between, though). Well, I have bookmarked this article for future reference. At least, if I have to move the current site I work on (http://www.IslamCrunch.com/), I can use this article as a guide. Thanks again and keep up the great work!