Migrate a WordPress site [2019] to a new host and new domain manually | WP Learning Lab

Hosting Without Cpanel – Migrate a WordPress site [2019] to a new host and new domain manually | WP Learning Lab


Migrate a WordPress site [2019] to a new host and new domain manually | WP Learning Lab

Hosting Without Cpanel

Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist:

Migrate a WordPress site to a new host and new domain manually | WP Learning Lab –

Exclusive for WPLearningLab viewers, up to 50% off hosting:

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

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

To backup the files, log into your cPanel account and open the file manager. In the file manager select all of the files in the root of your WordPress site. Then click on the Compress button to zip up all the files.

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

Following that, log into phpMyAdmin and open the database that belongs to your site. Click on the Export tab. Then choose the Quick open, make sure SQL is selected and export the database.

This will download the SQL file to your hard drive.

Now you have a full backup of your site.

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

Open the File manager in that cPanel account. Now find the root folder of your new domain. Click on the Upload link and select the ZIP file you created earlier to upload it.

Once it’s uploaded, selected it and click on Extract to unzip it.

Now all your site files are in place.

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

First create the new MySQL database in the cPanel account. Then add the database name, database username and username password to the wp-config.php file.

Next, log in to the phpMyAdmin and find the database you just created. It should be empty, if it is not then drop all of the tables in that database.

Once empty, click on the Import tab. For the import, select the SQL file that you created and downloaded earlier.

This will upload your site’s entire database.

Once the upload is completed, open the wp_options table. The first two rows of that table will contain the URL of your old site. Update them to contain the URL of your new domain. Make sure the updates ‘stick’ by refreshing the page and making sure the new domain is still in both fields.

Now you can 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 have to reset some of the permalinks by visiting the pages on your site. If they do not load, you will need to change the status of the page to Draft and then change it back to Published. That will reset the permalink and make that page accessible again.

That’s all there is to it. I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter.

————–

If you want more excellent WordPress information check out our website where we post WordPress tutorials daily.

Connect with us:

WP Learning Lab Channel:

Facebook:

Twitter:

Google Plus:

Pinterest:

you search:

Hosting Without Cpanel

Migrate a WordPress site [2019] to a new host and new domain manually | WP Learning Lab

27 thoughts on “Hosting Without Cpanel – Migrate a WordPress site [2019] to a new host and new domain manually | WP Learning Lab

  1. Thank you so much WP Learning Lab for creating such a great and useful content. Your tutorials really help me to solve my wordpress related problems.

    Keep up doing such a great tutorials…!

  2. Thank you very much, great video and extremely helpful. I would like to note sometime when migrating another issue may occur and that is with your web config file. so people should download this file file separately just in can they receive the error: the resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
    Thank you again, my wife's website is now up and running.

  3. Hello i liked your video is amazing thank you so much, but ididn't find wp_option file on my tables database for this my website still KO can you suggest for me some help

  4. straight forward video, 100% would recommend. awesome job man!
    one issue i encountered though…after migration, i couldnt reach the WP login page,even after adding 'wp-login.php' please help?

  5. After migration if you have 404 errors for pages, posts, products, categories etc (long story short urls other than home page) and also 'not a valid JSON response' error when you try to update or publish anything; I advice you to go Settings > Permalinks and push Update button without changing anything on the page.

  6. Thank you for such an in-depth guide for migrating my sites. I didn't want to bother with the all-in-one migration plug-in. I've learned so much from this and am confident in doing this with any site. In the past I had troubles with trying to login the new domain site with its appropriate new credentials, and found a solution based on tinkering around php files and file manager. This channel will always be my go-to guide for WP needs. Thanks a bunch, saved me from an afternoon migraine.

  7. I have a question please. I had made my first WP wesbite and it was almost finshed, but i decided to change the name of my website and bought a new domain on HostGator. I downloaded and saved a full backup of website on Cpanel on Hostgator. However, now that I want to upoload the backup file, since my plan was Hatchling= only one domain, Hostgator says it the restore will encounter errors that will not be eligible for HostGator support, and I need to do website clone migration." I called them and they wanted me to contact a web developer to clone my wesite. My Cpanel shows more than one data base, but i don't have access to wp-config/php. Do you have any suggestions please? I loved the content of my website and don't want to lose it. Do you offer any paid services for website cloning? I would really apprecaite your help.

  8. Hi thank you so much for this great tutorial. I have a question relative to when a website is mapped to a CDN and has SSL, would it take more steps to set up or it would be similar to what you have shown here. Thank you again for your great content!

  9. Hello there, I have a question .. if I have a website with multiple WordPress themes /2nd in subfolder/.
    Is there going to be some problem with the back-up from in the subfolder?

    Should I do the procedure for the 2nd installation also?
    Thanks in advance!

  10. Great videos ! Just one question, I have to change my theme to a new one but want to keep de SEO, what is the best way to do it ? Create a new fresh wordpress installation in a subdomain, install the new theme and migrate post and pages ? Or recreate my site in subdomain and just change the theme ?

  11. I've follow your instruction until changing the "siteurl" and "home". But when I try to open my new site it says "Warning: Potential Security Risk Ahead". Because my old website use SSL (https) and my new website is not. And also I can't login to my new website(.)com/wp-admin. Could you please help me?? 🙁

Leave a Reply

Your email address will not be published. Required fields are marked *