We got this video for you so that you don’t need to spend your time in the search.

Migrating a WordPress Site to a New Host and a New Domain Manually | WP Learning Lab – https://youtu.be/ZJED0dqEx-M

Exclusive for WPLearningLab viewers, up to 50% off on hosting: https://wplearninglab.com/wordpress-hosting-offer/

Take your PDF pre-launch checklist in 17 WordPress points: https://vid.io/xqRL

To migrate a WordPress site to a new host and domain, you must create a full backup of the site you are moving and replicate it to the new hosting by following these instructions.

To migrate the WordPress site to a new host, there are two steps. First, we need to prepare the existing site for the transfer and then initiate the actual transfer.

To back up the files, log in to your cPanel account and open the file manager. In the file manager, select all the files at the root of your WordPress site. Then, click the Compress button to compress all the files.

Once zipped, click on the backup and then click on the download button to download the zip file.

Then connect to phpMyAdmin and open the database that belongs to your site. Click the Export tab. Then choose quick opening, make sure that SQL is selected and export the database.

This will download the SQL file to your hard drive.

You now have a full backup of your site.

Then open the cPanel account in your new host, or even in your current host.

Open the file manager in this cPanel account. Now find the root folder of your new domain. Click the Download link and select the ZIP file you created earlier to download it.

Once downloaded, select it and click on Extract to uncompress it.

Now all the files on your site are in place.

We now need to add the credentials for a new database to your wp-config.php file.

Create the new MySQL database in the cPanel account first. Then add the database name, the database user name, and the user name password to the wp-config.php file.

Then connect to phpMyAdmin and find the database you just created. It should be empty, if it is not, delete all tables from this database.

When empty, click the Import tab. For the import, select the SQL file that you created and downloaded previously.

This will download the entire database of your site.

Once the download is complete, open the wp_options table. The first two lines of this table will contain the URL of your old site. Update them to contain the URL of your new domain. Make sure the updates "stay" by refreshing the page and making sure that the new domain is always in both fields.

You can now access your new domain and your old site will be there.

You can login with the username and password you used on the old site.

You may need to reset some of the permalinks by visiting the pages of your site. If they do not load, you will need to change the status of the page to Draft, then redefine it to Published. This will reset the permalink and make this page accessible again.

That's all we can say about it. I hope this information helps you! If you have questions leave a comment below or ping me @WPLearningLab on Twitter.

————–

If you want more excellent WordPress information check out our website where we publish WordPress tutorials every day.

https://wplearninglab.com/

Connect with us:

WP Learning Lab Channel: https://www.youtube.com/subscription_center?add_user=wplearninglab

Facebook: https://www.facebook.com/wplearninglab

Twitter: https://twitter.com/WPLearningLab

Google Plus: https://google.com/+Wplearninglab

Pinterest: https://www.pinterest.com/wplearninglab/

This content was first published here.

We inserted this video based on certain parameters as on date of insertion. Few of them are below.

Video Views: 92901

Video Rating: 4.84


LEAVE A REPLY

Please enter your comment!
Please enter your name here