How to clone WordPress in cPanel

  •   25/11/2021 11:04
  •  

Cloning your website can be a useful way to create a quick copy of your website, perhaps you want to experiment with a change, or maybe even make a whole new website using your existing one as a template, if so then this is the feature to do that. 

If you're looking to test an update or something then there is another feature to "Stage" a website which then also allows you to autonomously merge the changes you back including database changes back into live. So if you're simply testing an update then staging the site is probably the best option and not this article.

Tip - This can also be really useful if you need to give a plugin or theme developer access to your site but don't want to give them access to your live site. Just clone the site, have them troubleshoot and fix on the clone, and then ask them what they did so you can replicate on your live site without exposing customer data or your other information to a third party.

To clone your installation of WordPress in cPanel you will first need to scroll down to the software section and click "WordPress Manager by Softacluous".

61b21e687ad7f36c50d3393f669f09c02eab0ddeaa40f3aed67188eea4cb781d408c8c58af06f2b3?t=a5a52118d8f159dcee1edc65d13300f3

Click the arrow to the far right of the WordPress installation you would like to clone.

ce053e9ab2b252ce83b5c21ead197cc5089be17caed215b99762dfeaaf1c7ffa57b2882cb1b7f8dd?t=c49867057c2e5e4ee7d46e6eacd25770

Once the WordPress installation has expanded click the "Clone" button at the bottom.

ae5b24288d1a398c444a754ad7cf08c113327440d02f031d2f26d8d87be12bd80adc2fb99850fefe?t=7c98f5da1cec0b0a3040078587b3c155

When setting the "In Directory" please remember that the directory is relative to your domain and should not exist, leaving this blank may overwrite your existing WordPress installation so please make sure this field is filled in.

a1e38ff81f8c11ebc27b217edea9f8c9b6958b8f4957806df8e7a5c072f7764681d245af146829b2?t=351d1cf652f705377350c27c5ec8ebfd

Once you are happy with your installation details and site settings you can click the "Clone Installation" button and your website will be cloned and set up in the specified directory.