Stage or clone a WordPress site

staging, clone, sync, copy data · 0 found this helpful

A clone is a copy of your site on its own address. Staging is a clone you use to test, then push back to live. You make the copy yourself in your account. Staging and cloning come with Business and Pro.

Create a staging copy

  1. Open Account → Hosting → your site → WordPress and click Manage next to your site.
  2. Open Staging and clone.
  3. Under Copy to, type the first part of the new address, for example staging.
  4. Click Make the copy.
The Staging and clone tab. On Essential, it links to plan options

The copy is ready in a few minutes. It appears as a second site in the list, on a private subdomain such as staging.example.ca.

Protect the copy

  1. In the copy's wp-admin, go to Settings → Reading and tick Discourage search engines from indexing this site.
  2. Protect the folder with a password. See Password-protect a folder.
  3. In the copy, switch off order emails, payment gateways, and any live integrations.

Test, then sync to live

  1. Make your changes on the staging site only.
  2. Open a request at https://barbrick.ca/submitticket.php and tell us what to move to the live site. We do this for you, usually the same day.
  3. Choose what to copy:
Option Moves Use when
Files only Themes, plugins, uploads You changed a theme or plugin
Database only Posts, settings, orders You changed content or settings
Files and database Everything A larger redesign

We take a backup first, then replace the live site with the parts you chose.

Important: Syncing the database overwrites live orders, comments, and form entries made since the copy. On a busy shop, ask for files only, or replay content changes by hand.

Clone to a new site

To start a second site from an existing one, ask us to copy it to a new domain, or run a URL replace yourself once the files are in place:

wp search-replace 'https://staging.example.ca' 'https://newsite.example.ca' --dry-run
wp search-replace 'https://staging.example.ca' 'https://newsite.example.ca'

We do this for you when we copy a site. See Use WP-CLI.

If something goes wrong

  • Clone fails: not enough space: free disk space or delete unused copies.
  • Staging shows the live site: redirects or a CDN. Check the site address in Settings → General.
  • Sync broke the live site: restore a daily backup. See Back up and restore WordPress.

Was this helpful?

Still stuck? Ask us and we'll walk you through it.