How to Migrate WordPress Hosting: Duplicator DIY Guide
In this tutorial, I will show you how to migrate a WordPress site to a new location, using the Duplicator plug-in for WordPress.
You could be moving your site to a new host, a new domain, or simply wanting to backup your site. With Duplicator you can accomplish the task quickly and easily.
With the Duplicator plug-in installed, and a little practice, the time require to migrate your WordPress site to a new location, should take less than the time it takes you to drink your cup of coffee.
Note: Textual instructions follow the video if that is what you prefer.
If you are moving to a new hosting provider, remember, when you buy WordPress hosting, you should always go for a web hosting provider which is optimised for WordPress. Do not choose solely on price.
Consider the quality of the hosting service before you make a decision. The following article, Where to Register Domain Names and Host Your Web Site, will take you to those hosting providers I have found to be both affordable, and of proven quality.
Before you begin moving your site to a new domain or server, you will need to download, install and activate a WordPress Plug-in called Duplicator.
- Duplicator gives WordPress users the ability to migrate, copy, move or clone a site from one location to another, and also serves as a simple backup utility.
- This is a very popular plug-in, with well over one million active installations.
If you do not know how to download and install a WordPress plugin, I suggest you watch the video.
Basic Installation Instructions
- Upload duplicator folder to the /wp-content/plugins/ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Click on the Duplicator link from the main menu
With Duplicator installed, you will see a new menu item, Duplicator, on the WordPress dashboard.
If you click on the Duplicator menu item, you will be taken to the packages page.
This is where any previous duplication jobs would be listed. As this is a new install, you obviously have no jobs showing. Click on the Create New button, in the top right corner of the screen.
This brings us to Setup stage 1. Here you can enter a name for the archive you are about to create. I’ll just leave the default name. The other sections, Storage, Archive and Installer, can be ignored for now.
Click the next button, to move to stage 2.
In stage 2, Duplicator will perform a quick review of your site, to ensure everything is ready for the application to do its job.
If there are any problems, then details of the problem and recommended solutions will be given. Providing your site passes the necessary requirements, click the next button.
This will take us to stage 3 of the process, where Duplicator builds the deployment package. This may take several minutes, depending upon the size of your site.
When the build status is complete, you will be presented with the build status page. Hopefully, this will show the build was completed successfully.
You will have two buttons on the page. One is for downloading the actual archive, the other is for downloading the installer application. As you will need to download both of them, you can simply click the ‘One Click Download’ link. Save the files to a safe location.
If you only need a backup of your site, then these are the files you want.
Upload to Website
Now you need to upload the files to the new website location, so we can recreate the website. This can be done with an FTP client such as FileZilla.
Before you can create the new WordPress site you need a database. If you will be using an existing database then you can skip this part. If you do not have an existing database, you need to create a database for your data.
Do this by logging in to your hosting providers cPanel, and running PhpMyAdmin.
Create a new database by clicking the New button. Enter your database name and click the create button. You should see your new database in the side panel database listing.
The next job, is to extract the files you uploaded to your new website location.
This is accomplished by running the installer.php file.
Running the installer.php file, will display the Duplicator deployment script. The archive is checked, and hopefully, passes with flying colours.
Read the terms and notices if required, and then tick the check box. Then click the next button to move on.
This will bring you to step 2, installing the database.
You will need to provide, a database name, a user name, and a password.
- The host will in all probability, be localhost. There are a few exceptions, so if you do have problems, check with your hosting provider.
Next, click on the test database button. This will check the database connection and display the current status. If everything is good, you can click the hide button and move on to the next screen.
This will bring you to the Install confirmation. If you are happy with the settings, click the Yes button.
After a short time, you will be presented with the Update Data screen. Again just check the data is correct. Click the next button when you are ready.
All you need to do now is check your site is up and running.
So, login to your site. You should be presented with a screen stating, This site has been successfully migrated. All that’s left to do now is a few clean-up operations.
The first thing to do is remove the installation files. These are a security risk, and should be removed as soon as possible. Check that everything was removed successfully, if not complete the task manually.
Finally, double check your permalink settings, and save them again, just to be sure the .htaccess file is updated correctly.
Believe it or not, you are finished migrating the site to a new location or a new host.
All that is left for you to do, is to review the site and check that everything is as it should be.
How to Migrate WordPress Hosting: Duplicator DIY Guide Final Note
Well, I hope you liked this tutorial and found it helpful. If you have any comment, corrections or items you think should be added to, ‘How to Migrate WordPress Hosting: Duplicator DIY Guide’, please do not hesitate to let me have them in the comment box below.