27 Aug Migrate a WordPress web site  to a new host and new domain manually | WP Learning Lab
Grab Your Totally free 17-Position WordPress Pre-Launch PDF Checklist:
To migrate a WordPress web site to a new host and new domain you have to make a complete backup of the web site you happen to be going and replicate it in the new web hosting by subsequent these guidelines.
To migrate WordPress web site to new host there are two techniques. To start with, we need to have to prep the present web site for transfer and then initiate the genuine transfer.
To backup the files, log into your cPanel account and open the file manager. In the file manager pick all of the files in the root of your WordPress web site. Then simply click on the Compress button to zip up all the files.
Once zipped, simply click on the backup and then simply click the obtain button to obtain the zip file.
Pursuing that, log into phpMyAdmin and open the databases that belongs to your web site. Click on on the Export tab. Then pick the Speedy open, make absolutely sure SQL is chosen and export the databases.
This will obtain the SQL file to your tough travel.
Now you have a complete backup of your web site.
Following, open the cPanel account in your new host, or even in your present-day host.
Open up the File manager in that cPanel account. Now locate the root folder of your new domain. Click on on the Upload link and pick the ZIP file you produced previously to upload it.
Once it’s uploaded, chosen it and simply click on Extract to unzip it.
Now all your web site files are in put.
We now have to insert the qualifications for a new databases to your wp-config.php file.
To start with make the new MySQL databases in the cPanel account. Then insert the databases name, databases username and username password to the wp-config.php file.
Following, log in to the phpMyAdmin and locate the databases you just produced. It should really be empty, if it is not then drop all of the tables in that databases.
Once empty, simply click on the Import tab. For the import, pick the SQL file that you produced and downloaded previously.
This will upload your site’s full databases.
Once the upload is concluded, open the wp_alternatives table. The initially two rows of that table will comprise the URL of your old web site. Update them to comprise the URL of your new domain. Make absolutely sure the updates ‘stick’ by refreshing the web site and earning absolutely sure the new domain is continue to in both of those fields.
Now you can access your new domain and your old web site will be there.
You can login with the username and password you made use of on the old web site.
You might have to reset some of the permalinks by viewing the pages on your web site. If they do not load, you will need to have to improve the standing of the web site to Draft and then improve it back again to Revealed. That will reset the permalink and make that web site available yet again.
Which is all there is to it. I hope this info allows you! If you have any concerns leave a remark underneath or ping me @WPLearningLab on Twitter.
If you want more great WordPress info verify out our internet site where we put up WordPress tutorials everyday.
Hook up with us:
WP Learning Lab Channel: