Creating, Deploying and Protecting Staging Copies
This page summarizes SiteGround’s own instructions. For the full, current version, see SiteGround’s guide: How to create a Staging copy of your site and the rest of their Staging Tool tutorial.
1. Create a staging copy
Section titled “1. Create a staging copy”- Log in to SiteGround and open Site Tools for cadence-group.com.
- Go to WordPress → Staging.
- Choose the WordPress installation (cadence-group.com) from the drop-down.
- Type a Staging Name and click Create.
- If SiteGround finds files or folders that aren’t part of a normal WordPress install, it asks whether to copy them too. Tick the ones the site needs and click Confirm.
- The new copy appears under Manage Staging Copies.
SiteGround copies the site’s files and database for you. A few things to know from SiteGround’s guide:
- Staging copies use subdomains like
stagingX.cadence-group.com. Because our nameservers aren’t at SiteGround, SiteGround’s guide says the address (and thewww.version) must be added as an A record at the current DNS provider, GoDaddy. That’s the step Jim does. - WordPress’s automatic scheduled tasks (cron) are turned off on staging copies, so staging won’t send duplicate emails or run automated jobs.
- Limits: up to 10 staging copies per account and 15 staging actions per day. The database must be under 5 GB, and the account needs enough free space.
2. Work on the staging copy
Section titled “2. Work on the staging copy”- Open the staging site’s dashboard from Manage Staging Copies (the log-in icon), or go straight to
/wp-adminon the staging address. - Log in with your normal WordPress username and password. They’re copied from the live site.
- From the copy’s menu you can also Replicate it (clone it), Rename it, or Destroy (delete) it. Renaming or recreating a copy changes its address, so tell Jim if you do either.
3. Push staging to the live site (deploy)
Section titled “3. Push staging to the live site (deploy)”When you’re happy with your changes, SiteGround offers two ways to push them live:
| Option | What it does | When to use it |
|---|---|---|
| Full Deploy | Replaces the live site’s files and database with the staging copy’s, in one click. | Only when staging has everything the live site should have. Anything added to the live site after staging was created (new form entries, comments, posts) could be overwritten. |
| Custom Deploy | Compares staging with the live site and lets you pick which files and database tables to add, update, or delete. | Most of the time. You can push your page changes without overwriting things like form entries. |
Before deploying, make sure the staging copy’s WordPress version isn’t older than the live site’s. SiteGround won’t push a staging copy with an older WordPress version. SiteGround also has a restore option if a deploy goes wrong.
4. Password-protect the staging site
Section titled “4. Password-protect the staging site”Staging sites are public by default, and search engines can find and index them. That’s what happened with Cadence’s old dev site, so protecting staging matters.
In SiteGround Site Tools (SiteGround’s instructions):
- Go to Security → Protected URLs.
- On the Users tab, create a user with a username and password (save them somewhere safe).
- On the URLs tab, choose the staging subdomain (for example
staging2.cadence-group.com), enter/as the path to protect the whole site, pick the user, and click Protect.
Visitors and search engines then get a username and password prompt before they can see the staging site. You can change the password or remove the protection later from the same screen.