15. Cloning Sites
The WPMU DEV cloning tool duplicates a site’s files and database and re-creates them in a new WordPress installation, resulting in a new site identical to the original but with a new domain name.
Cloning can be used to move a site’s hosting location from one geographic location to another.
Cloning is also useful for creating template sites where you configure your favorite plugins and themes, and then clone the template to produce a new site with much of the initial configuration already complete.
You can also create cloned sites using existing pre-configured site templates we provide with the theme & plugins pre-installed.
15.1 What is cloning?Link to chapter 1
Cloning generates an exact copy of a site— including themes, plugins, content and site settings– and uses those files to create a new site with a temporary domain. Once the cloning process is complete, use our Adding Domains guidance to add the new site’s permanent domain.
The new site will be added to your account at the same hosting level as the original site, which means that cloning a silver plan site will result in a new silver plan site being added to the account. Site plans can be upgraded or downgraded at any time from My Account.
Cloning does not copy domains, SFTP/SSH users, and staging configurations.
15.2 Clone an existing siteLink to chapter 2
Navigate to the Hosting tab of your Hub and click the menu icon (three dots) of any site to access a drop-down menu. Click the Clone Site option.
You can also access the Clone screen by clicking the Clone button at top-right while viewing the Hosting control panel of any hosted site.
Next, choose to clone a site you already have hosted here, or clone one of the template sites we provide. If you want to clone one of your existing sites, click the “Clone from my websites” button and select the site to be cloned from the dropdown.
The cloned site will reside temporarily on a wpmudev.host domain, which can be replaced later with a permanent domain. Enter the temporary domain name you prefer into the field provided, and click the blue arrow to proceed.
Next, use the drop-down menu to select where you would like the new site to be hosted, geographically. We recommend choosing a location as close as possible to your primary audience in order to minimize distance-related performance issues.
When ready, click the blue arrow to proceed and the cloning process will begin. The time required to clone a site relies entirely on the size of the site. Some sites may take only a few minutes, while others may take hours. Either way, the site admin will receive an email notification when the new site is ready.
15.3 Clone from a templateLink to chapter 3
If you want to clone one of the pre-configured template sites, click the “Clone from template” button instead and select the template to be cloned. Then follow the remaining steps as outlined above.
Our templates are built exclusively with popular free themes and plugins found in the WordPress repository, in addition to our Pro plugins. Defender, Smush, Hummingbird, Forminator, Beehive, and SmartCrawl are all enabled and the settings are optimized for the site. There’s a default Forminator contact form on each template as well.
At the present time, these are the available templates you can choose from:
- Vanilla – This is a standard WordPress install with the default Twenty-Twenty theme enabled, plus our WPMU DEV plugins activated, optimized, and ready to use.
- WooCommerce – The Astra theme, essential WooCommerce plugins, and the Hubspot plugin for lead management. All the eCommerce tools you need and created completely with Gutenberg blocks.
- Agency – Using the Neve theme; a flexible Gutenberg site for agencies and small businesses.
- Business – Colibri theme; use the Colibri page builder for a complete business website.
- Charity – With Elementor page builder & GiveWP plugin, this is ideal for non-profit websites with donations built right in.
- Freelancer – An Astra theme with Beaver Builder, perfect for individual consultants and freelancers.
When you choose to clone a site from a provided template, you’ll also be prompted to create the administrator account to use for the cloned site.
15.4 TroubleshootingLink to chapter 4
If you had the Analytics feature enabled in the WPMU DEV Dashboard on the original site, you may see those same statistics appear on the cloned site as well.
To fix this possible issue and reset stats for the cloned site, simply deactivate the Analytics feature in the WPMU DEV Dashboard on the cloned site. Then click the “Check again” link in “We last checked for updates [x] hours/mins/seconds ago – Check again” at the bottom of the screen.
Once you reactivate the Analytics feature, the stats will be fresh and relevant to only the cloned site.
Note that when cloning a site, the database name of the new site will be identical to the original site’s database name, and cannot be changed.
This is by design as some sites might have huge databases, and “renaming a database” function doesn’t exist in phpMyAdmin. So to have a new database name on the cloned site, the process would be export, create new, import, delete old. That process could create disk space issues and could break at any point, so we decided to just transfer everything “as is” to the new cloned site.
This should not be an issue at all as each hosted site is a totally separate hosting instance, and the new database of the new cloned site would be tied to only that site.