Den här artikeln finns även på: Svenska
To clone an entire WordPress installation and/or copy the content from one installation to another can be used in several scenarios, e.g. if you want a staging website or if you wish to set up a new site using an old one as a template.
In WordPress Toolkit, you have access to tools for both cloning and copying data, and in this guide we’ll go through both.
WordPress Toolkit’s clone feature can be used to create an exact copy (a clone) of an existing WordPress installation. You do not need to install WordPress on the target domain before cloning, everything will be cloned in the process.
To get started, begin by accessing WordPress Toolkit. Then click the row for the WordPress installation you wish to clone, and click the option
In the box that pops up you get to adjust the settings for the cloning process.
You select the domain/subdomain where the clone shall be created. You can either let the tool create the subdomain for you, or you can select one already created earlier. You can also set a name for the database if the randomised one doesn’t feel right.
When you’re happy with your settings, click
The copy feature in WordPress is used to transfer data from one WordPress installation to another existing installation. Therefore, you need to install WordPress on the domain/subdomain you wish to copy data to.
To get started, begin by accessing WordPress Toolkit. Then click the row for the WordPress installation you wish to copy data from. You find the option for copying data under
In the box that pops up you get to make selections regarding the data that shall be copied.
Target where the data should be copied. Then choose what data and what database tables that you want to copy.
Once you’re done selecting, click
Start to commence the copying.
As mentioned in the introduction of this guide, the features for cloning and copying can be used for management of WordPress installation staging.
When you have a working WordPress site online and running, you can use the clone feature to create a staging copy – i.e. an identical copy of the live site.
Once the cloning process is done, log on to the cloned staging site and edit it to your heart’s content. Your live site should not be affected by any of your changes to the clone.
Once you’re done with the edits you can use the copy data feature to transfer parts of your new content from the clone back to the live site.