Today in this tutorial, we will learn how to move your WordPress website from an old hosting provider to a new hosting provider. This tutorial is also valid for moving a website from the localhost (PC) to a live server (web host).
Moving a WordPress site to a new host is very easy, and it can be done in no time, and it doesn’t require any technical skills.
If you are not happy with your current hosting provider and looking for a new hosting provider that offers a solid performance as well as good uptime, check out this article to find the best hosting provider for your website.
The migration of WordPress can be done in many ways. But here we are going to discuss the easiest way.
So let’s get started
Step 1: Log in to your WordPress Admin Dashboard of the old hosting provider where your website is currently being hosted. Now go to Plugins > Add New and here search for the All-in-One WP Migration plugin. Once found, click on Install and then Activate it.
After plugin activation, you will get an All-in-One WP Migration option under the WordPress Menu.
Step 2: Now go to All-in-One WP Migration > Export. You will get a screen like this:
Here, click on the EXPORT TO menu and then select the File. It will start archiving your entire WordPress website, including all types of files (database, media files, plugins, WordPress, and themes).
Once archiving has been completed, it will give you the option to download the file, so download and save it on your PC. We are going to need this file to migrate your website to your new host.
Step 3: After purchasing a new hosting, set up your domain there and make sure your domain is pointing to the new host, not the old host. You can achieve this by replacing your old domain name servers at the domain registrar with your new hosting DNS Name Server. Check out this article to know in detail How to Change Domain Name Servers.
Once DNS change is done, You can install WordPress on your new hosting provider. If you don’t know how to Install WordPress on your new hosting provider, check out these articles:
- How Setup Bluehost hosting Account & Install WordPress
- How Setup Hostinger hosting Account & Install WordPress
- How Setup SiteGround hosting Account & Install WordPress
Step 4: Now login to your WordPress Admin Dashboard of the new hosting provider where you want to move your website. And go to Plugins > Add New and here search for the All-in-One WP Migration plugin. Once found, click on Install and then Activate it.
After plugin activation, you will get an All-in-One WP Migration option under the WordPress Menu on the left-hand side.
Now on our new host, we are going to import the file we have generated in Step 2, so go to All-in-One WP Migration > Import. You will get a screen like this:
Here, click on the IMPORT FROM menu and then select the file, Now browse and upload the file that we have downloaded in Step 2. The extension of the file will be .wpress.
The file upload process will begin, and when it completed, you will get a screen like this :
Click on Proceed>. The data restoration process will begin, and Once all data imported successfully, you will get a screen like this:
As you can see from the above image, Now you need to save your permalinks structure to finalize the website migration, so click on Save permalinks structure.
As soon as you click on permalinks structure, you will automatically be logged out from your WordPress Admin Area, this is because we are now using a new user name & password, and that is the user name & password of the website we just imported.
So now login to your restored website with old WordPress Admin Area credentials. It will directly take you to the permalink settings. Here, save the permalinks twice to finalize your import.
That’s it! You have successfully migrated your WordPress website to a new host.