How To Clone A WordPress Site

Andy Holland

While you might not be familiar with the concept of cloning a WordPress site, you will find that this kind of tool can come in very handy. Some people will use this feature to clone WordPress site to new domain addresses and when switching to a new web host. Many people believe that cloning is a waste of time but in these situations, it can be very beneficial. By cloning your own site, you can open yourself up to a number of possibilities and it is something which is used by many web hosts who are taking on a new client.

If you are not sure how to clone a WordPress site then you should know that it is relatively straightforward. Here, we are going to give you some steps to follow to help you achieve this in the future. Keep reading to find out more about how you can clone a WordPress site.

Using A Plugin

In order to clone WordPress site effectively, you need to make sure that you have the right plugin for the job. There are a number of plugins which can help you to achieve various goals on your WordPress site with some being more useful than others. For this particular task, we aim to use the Duplicator plugin as this can work well as a migration and backup tool. If you don’t already have this plugin then you should download it before you get started. You can find this online and it should be easy to download and get started on.

Getting Started

Once you have your Duplicator plugin, you will be able to proceed with cloning a WordPress site. Firstly, you should head to the Packages section of the plugin and then choose ‘Create New’.

You’ll notice that the wizard will begin and you can move through the screens using the ‘next’ button. This is where the plugin will scan your website and warn you if there is an issue. Move forward with the ‘Build’ button if everything is in order.

Preparing Your Site

The previous step will have created a backup of your site and, once this is complete, you can prepare to clone your site. You should be presented with a link that contains all of your files so you will need to download this and get both the installer script and the backup files. This is a very important step as you will not be able to clone your site without these in your files.

Uploading Your Archive

Once you have what you need from the backup of your WordPress site, you will need to upload it to a new location. Look for a site on your local server or use a live website if this works better. There are a few ways to achieve this. It is up to you which option you choose but you should consider how each is done when making this decision to ensure you are happy with the result.

If you are using a live site, then you might need to use the root directory and an FTP client to get the
files uploaded. It is much easier with a local server site as you can simply copy and paste the files.

Getting The Script Running

The next step to cloning your WordPress site is to focus on the Duplicator installer script. This is quite simple to do but you need to make sure that you are doing it correctly. Head to your new website in a browser and add ‘installer.php’ to the URL.

Once you have done this, you should find that you see a Duplicator installer script on your screen. This should start to run automatically so you should keep an eye on it and make sure that everything is correct. You can proceed to the next screen where you will need to enter some details about your
database.

Here, you should make sure that you choose the ‘Test Database’ option. This will help you to figure out if you have made any mistakes or not. Once you have checked everything, you can move on to the importing stage.

You’ll need to update any settings and finish the installation. When you click on the Admin Login, you should be taken to your new cloned site.

Testing

As with any kind of project, we encourage you to always test your cloned site. A WordPress site can have many errors and without the correct testing, you can cause more serious problems for yourself further down the line.

Make sure that you test your site from both the front and the backend of your site. You might need to change some things on your site but this is the time to do it. You can find plenty of guides online for fixing common errors so make sure to take this into consideration.

Temporary Files

The final step in cloning a WordPress site is to make sure that any temporary files are deleted. This is
something which will be held by the WordPress plugin Duplicator and so it needs to be addressed. You can do this by heading to your cloned site and choosing the ‘Tools’ option. This should present you with an option to ‘Remove Installation Files’. Once you have removed these files, you will find that your WordPress site will have been successfully cloned.

Final Verdict

As you can see, cloning a WordPress site is relatively straightforward. If you have the right plugin for the job then you can make sure that you are getting everything cloned across easily. It is really important that you test your site as you go and that you are following our guide step-by-step. Don’t miss out on any parts of the task and this should help you out. Cloning a WordPress site can be useful for a number of things so make sure to try this out with your site today.