Testing changes safely with a WordPress staging copy Print

  • staging, clone, wp toolkit, wordpress, testing
  • 0

A staging copy is a private duplicate of your website where you can test plugin updates, a new theme or design changes without affecting your live site. WP Toolkit can create one in a few clicks.

Creating a staging copy

  1. Create a subdomain for the copy, for example staging.yourdomain.com. See Adding domains and subdomains in cPanel.
  2. In cPanel, open Domains › WP Toolkit and find your site.
  3. Click Clone, select the staging subdomain as the target and click Start.

WP Toolkit copies the files and database and updates the site address automatically. The copy is a separate site that you can log in to and change freely.

Keeping the staging copy private

  • WP Toolkit can hide the copy from search engines: turn on Search engine indexing protection in the copy's settings.
  • Add a password with Directory Privacy so only your team can see it.
  • Be careful with plugins that send email or take payments: a staging copy can still send real emails to customers.

Copying changes back to the live site

  1. When you are happy with the changes, open the staging site in WP Toolkit and click Copy Data.
  2. Select the live site as the target.
  3. Choose what to copy: Files only for theme and plugin changes, or files and database. For an online shop or a site with new comments or orders, copy only the database tables you changed, or you will overwrite recent orders.
  4. Click Start. WP Toolkit offers to create a restore point of the live site first; we recommend accepting it.

When you are finished

Delete staging copies you no longer use. Old, forgotten copies are rarely updated and are a common way sites are hacked.


Was this answer helpful?

« Back