Moving a Wordpress Blog
By Thomas McMahon
Having 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.
Thomas McMahon is a SEO Designer for TopRank Online Marketing in Minneapolis, MN. His specialities inlude technical optimization of existing web sites, creating search engine friendly web designs, and blog optimization. He has also created a number of blog marketing tools, WordPress plug-ins and FireFox add-ons.