How to Clone a WordPress Site in Minutes (Step-by-Step Guide)

There are many reasons that you may want to clone a WordPress website. These can include testing new plugins, trying new themes, or moving your site to a new server.

It’s actually very easy to make a copy of your WordPress site using the plugin Duplicator. The plugin will pack up your uploads, themes, plugins, and most importantly all of your WordPress content.

Here we’ll show you the 5 easy to follow steps to clone your WordPress site using Duplicator.

Reasons to copy a WordPress site:

  • Create a staging site to test WordPress changes like themes or plugins
  • Move your WordPress site to a new server
  • Backup your WordPress site


How to Clone a WordPress site using Duplicator

There are tons of plugins that let you migrate your WordPress site. For this tutorial we’ll be using Duplicator since it’s simple to use and free.

Here are the 5 easy to follow steps to clone WordPress site:

Step 1. Install Duplicator on your WordPress site

The first thing you’ll need to do is install the Duplicator plugin. This is as simple as going to your dashboard and clicking Plugins/Add new. Then search “Duplicator” and it should be the first result (it has over 1+ million active installations).

If you need more help installing Duplicator read our guide to installing WordPress plugins.

After you install and active Duplicator you’ll see Duplicator in your admin sidebar.

Here you can click packages which will give you options for your site export.

Step 2. Export the Duplicator package

Once on the Duplicator page click “Create New” to start the export process.

Here you’ll have a few options including what is in the export and the name of the package. You most likely won’t need to change any settings so you can just click next.

After hitting next Duplicator will scan your site to see if the export will properly work. If you run into any wall you can email your web host to resolve any issues that may pop up. On our host we didn’t have any issues from the scan.

When you click build the site will be compressed into a package. This is a PHP installer file and a zip file that contains all of the WordPress site’s content and files.

You can download your complete WordPress cloned site by clicking “One-Click Download”. This will give you the PHP file and zip archive.

Depending on your browser you may be warned that the site is downloading multiple files. Just click accept if that appears (like it did in Chrome for us).

Step 3. Upload the Duplicator package to your new (or existing) server

To upload your WordPress site clone you’ll need to have access to your site’s FTP. If you are new to FTP you’ll need an FTP client like Cyberduck which is on Windows/Mac. Typically you can get your FTP login through your web host’s admin page. If you can’t find your FTP login information we recommend emailing your web host.

In this example we will be making an FTP account in SiteGround. Most hosting interfaces differ but the functionality should be similar.

Creating an FTP account in SiteGround

After you create your FTP login note down the username and password and enter it into your FTP client. We will be using the free FTP client Filezilla in this guide.

Enter FTP info into Filezilla

It’s important to note if your host uses FTP or SFTP, if your login isn’t working it might be because it’s an SFTP login. This can be changed in the protocol option of your FTP client.

After you are successfully logged into your FTP browse the folders to ensure you’re in the public facing folder. Most hosts call this folder “public_html” or something similar. If you have no folders on your server you are most likely already in the default public folder.

You’ll want to delete any default files in your server as well. You’ll see here that SiteGround adds a default.html file which we won’t need when we import our WordPress site.

Delete default files from your server

Now that we have a fresh public facing folder we’ll upload our Duplicator zip and Duplicator installer.php file. This can easily be done by dragging the files over into your FTP client.

WordPress Tips Monthly

Get the latest from SmartWP to your inbox.