Stage or clone a WordPress site
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
- Open Account → Hosting → your site → WordPress and click Manage next to your site.
- Open Staging and clone.
- Under Copy to, type the first part of the new address, for example
staging. - Click Make the copy.
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
- In the copy's wp-admin, go to Settings → Reading and tick Discourage search engines from indexing this site.
- Protect the folder with a password. See Password-protect a folder.
- In the copy, switch off order emails, payment gateways, and any live integrations.
Test, then sync to live
- Make your changes on the staging site only.
- 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.
- 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.
Still stuck? Ask us and we'll walk you through it.
