Moving a Wordpress Site from One Host to Another
- Install Wordpress on the new host.
- Using an FTP client, copy down all of the Wordpress files from the original host.
- Back up the Wordpress database using the database utility provided by the host.
- Using the FTP client, copy all of the Wordpress files (except wp-config.php) to the desired directory on the new host. DO NOT OVERWRITE THE EXISTING WP-CONFIG.PHP FILE AS IT CONTAINS REFERENCES TO THE NEW WORDPRESS DATABASE.
- Using the database utility provided by the new host import the original Wordpress database.
- Download the Wordpress search and replace tool (http://interconnectit.com/124/search-and-replace-for-wordpress-databases/) and copy the file to the root of your Wordpress installation.
- Using a browser, go to www.yourdomain.com/
(where "yourdomain" is your domain name and the path to the Wordpress installation) and " " is the name of the search and replace file. This utility is used to replace references to your old domain name in the database tables. - Follow the instruction to replace references of your old domain name with the new one. When you are done, delete the search and replace tool. If you do not delete it, and someone should come across it, they could use it to do anything to your database.
Your Wordpress site should now be working.