This tutorial explains how to make a WordPress transfer to a new hosting platform or move your local develop site to live server, here you will find detailed instructions on how to migrate WordPress to a new host.

Make a full WordPress Transfer

A WordPress migration from one hosting provider to another is an easy task if performed properly. It consists of three parts – moving the files, moving the database and reconfiguration (if needed).

Transfer WordPress Files

To move your files from one host to another you can use your favorite FTP client. For more information on how to use FTP, you can check our FTP Tutorial. It explains how to move the files of the application first to your local computer and then to upload them on the new account. If your old host is using cPanel, you can use the File Manager tool to create a .ZIP archive of all your site files. You can then transfer it to your new host and extract it. This will save you time because transferring one big file is much faster than transferring thousands of small ones.

Migrate the WordPress Database

The second step is to move your database. First you need to export your database from the old hosting account. contact the support team of your previous hosting company in order to receive more information on how to export your database. After you have your data exported, create a new database on your new hosting account and import the migrated content in it.

Reconfigure WordPress to work from the new server

Next you have to reconfigure your WordPress application to work from the new place. To do this, open the wp-config.php file in the WordPress root folder and locate the following lines:

You need to replace those values with your actual database, database username and password for it. The hostname should be replaced with localhost. Then save the file and your WordPress site should be up and running from your new hosting account!

If the domain name used by the WordPress is changed on the new server or you are moving local site to live then additional reconfiguration is required.

  • Using phpMyAdmin

You should change the siteurl and home options in your WordPress database. You can do this using the phpMyAdmin tool available in your cPanel.

Once in phpMyAdmin, select your WordPress database and browse the table wp_options. Find the options siteurl and home and change their values to the new domain you want to use. Set siteurl and home as http://newdomain.com

The searchreplace command replaces all occurrences of http://olddomain.com with http://newdomain.com in the database of your application. Note that http://olddomain.com is the current domain configured on your WordPress and http://newdomain.com is the new domain that you wish to use.

Make sure that you clear the cache of your browser and verify if your website is functional.

WP All Backup plugin helps you to create Backup and Restore, migrate, Clone Backup easily on single click