How to Clone and Migrate WordPress Sites the Easy Way

Cloning and migrating a WordPress website is never an easy task. Even though you can use all the help provided by the WordPress community, the manual operation is always a daunting task, especially if you are a beginner. Even a small unintentional mistake can cause some serious issues like missing posts or media, corrupted permalinks, extended period of downtimes, etc. In the worst case scenario, it may completely ruin your WordPress installation. To save all the hassle, here is a single plugin that can easily clone and migrate WordPress sites without messing with a whole lot of complicated settings.

Note: Before you do anything with your WordPress installation, make sure that you have a good recent backup. This can be used to restore your site if anything happens. Moreover, I also assume that you know how to create a new database in your web server.

Clone and Migrate WordPress Sites

1. To easily clone and migrate WordPress sites, we are going to use a free WordPress plugin called Duplicator. You can download it from the official WordPress repository and install it like any other WordPress plugin.

duplicator-activate-plugin

2. After activating, navigate to the Duplicator page using the link on the side menu. By default, Duplicator lists all the available packages. Simply click on the “Create New” button to start creating a new package.

duplicator-create-new-package

3. Here in this window, Duplicator runs a quick scan on your server to see if your server meets all the requirements and displays a “Pass” or “Fail” status. Enter the name of the package and any notes as required and click on the “Next” button. While creating the package, you can further customize the package by editing the “Advanced” settings under Archive and Installer tabs.

duplicator-package-setupadvanced

4. Now in this window, click on the “Build” button to start creating the package. If you receive any warning messages in this window, do solve them before creating the package as they may sometimes cause problems with package creation.

duplicator-build-package

5. Once the creation of the package is completed, download the Installer (installer.php) and Archive files by clicking on the “Installer” and “Archive” buttons.

duplicator-download-installer-archive

6. Now to migrate the site, open up FileZilla or other equivalent FTP software and log in to your new web server. Once you are in, upload both the “installer.php” file and the “archive” file into the root directory of your website.

7. Now to visit the installer page, enter the following URL while replacing “yourdomain.com” with your actual domain.

http://yourdomain.com/installer.php

8. The above action will bring up the Duplicator installer page. Enter the database details and click on the “Test connection” button to verify the entered details. If everything is fine, go through all the warnings mentioned by the Duplicator plugin, select the check box “I have read all warnings and notices” and click on the “Run deployment” button.

Note: Before entering the database details, make sure that you have already created a new database using the same exact details for the migration purpose.

duplicator-run-deployment

9. Here in the files and database window, Duplicator will pre-populate all the settings for you. Just check them and click on the “Run update” button to finish the migrating process.

duplicator-run-update

10. Once the migration is finished, Duplicator will display some important final steps. At this point I recommend you test your site using the “Test Site” link and to update the permalinks from the settings menu of your WordPress site.

duplicator-final-steps

11. Once you have confirmed that everything is fine, click on the “File Cleanup” link to remove all the Duplicator installer files. This ensures that no third party can access the installer files to mess with your WordPress site.

That’s all there is to do, and it is that easy to clone and migrate a WordPress website using Duplicator.

Hopefully that helps, and do comment below if you face any problems while using Duplicator for cloning and migration purposes.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Vamsi Krishna Avatar

Read next

Suzanne Simard sealed paper birch and Douglas fir seedlings inside plastic bags, fed them carbon-14 and carbon-13 dioxide, and nine days later found carbon had crossed between species through fungal threads in the British Columbia soil beneath her boots
A species of jellyfish called Turritopsis dohrnii can revert its adult cells back to a juvenile polyp stage when injured or starving, effectively restarting its life cycle, and biologists have so far failed to identify any natural limit to how many times it can do this.
A Japanese man named Jiroemon Kimura, who lived to 116, was born in 1897 when Queen Victoria still ruled and died in 2013, meaning a single human life personally overlapped with the invention of the airplane, the atomic bomb, the internet, and Instagram
The Hollywood sign originally read HOLLYWOODLAND when it was built in 1923 as a real estate advertisement for a housing development, and it was only meant to stand for 18 months, but nobody ever got around to taking it down and the city eventually adopted it as a landmark
Almost all of the world’s internet traffic does not travel by satellite but through fibre-optic cables lying on the ocean floor, a hidden web of wires crossing the deepest parts of the sea to connect the continents.
People who flip their phone face down on every table aren’t being secretive. They figured out that staying interruptible meant handing their time to whoever rang first
Twitch vs. Facebook Gaming vs. YouTube Gaming: What’s the Best Live Game Streaming Platform?
Chrome Extensions Ownership Transfer is a Direct Threat to You: How to Stay Safe