Do you intend to do a WordPress site migration? This tutorial is for those who already had their own self-hosted WordPress blog but wants to move it to another hosting account. You don’t have to go through the hassle of reinstalling WordPress onto your server and reconfigure all your settings once more with the method explained below. We have another tutorial for those that wants to move from wordpress.com to their own own self-hosted wordpress blog.
The export/import function within the ‘Manage’ menu at admin panel can be used to move your WordPress blog to another hosting provider. However, it does not offer you the best and least bothersome way to do so, particularly for large databases. Additionally, the export /import function will not let you clone your plugin settings that create database tables themselves. In other words, not all of your settings can be moved to new server if you have plugins that has their own separate database tables.
Cloning your blog into your new server is the best and most hassle free way to migrate WordPress site as it is database driven. All of WordPress configuration settings are stored in the database. The cloning method is the best option because it will back up the database tables, including those of your plugins, and put them on the new server’s database. With the WordPress site migration method explained below, you don’t need to reinstall or reconfigure your settings again.
10 Easy Steps for your cloning and WordPress migration:
- Download the plugin wp-db-backup.
- Upload this plugin to your current server. Go to the ‘Plugins’ menu to activate it.
- Proceed to the menu ‘Manage‘ -> ‘Backup‘. Select all your tables, and click on ‘Backup’ so you can download the gzip file onto your computer.
- Extract the gzip file you’ve downloaded. There now should be a sql file. This file contains your WordPress database. In the next steps, we will put this database into new server.
- Create a MySql Database and user for your blog in the new hosting account. This is explained in detail in step 2 at our WordPress installation tutorial.
- On your new hosting account, log on to PhpMyAdmin.
- Import the sql file via PhpMyAdmin. This is the file you created at step 4.
- With a FTP program, download the entire WordPress directory from your old hosting account to your computer. Make sure it stays intact, particularly the wp-content folder.
- The next step is to change database configuration. Open wp-config.php file inside the WP folder you downloaded. update the database configuration. Database name, database user and password are the ones you set in step 5. Be careful with single quotes.
- You can now upload the entire WP folder onto your new server.
That’s it. You may now go to your new server’s wp-login page and use your current username and password. Your settings and configurations remain the same as they were in the old server.