Skip to main content
Signocore

What is a staging site?

A staging site is a private copy of a website used to test changes before they reach the live site. Plugin and theme updates, new features, design changes and server upgrades are tried on staging first, so problems are found by the team rather than by visitors.

It is usually one step in a chain of environments: development, where changes are built, often on a developer's own machine; staging, which mirrors production as closely as possible; and production, the live site.

How it works

Many hosts offer one-click staging for WordPress: the host copies the files and database to a separate address, such as a subdomain, and can push the changes back when they are approved. Larger projects build staging into their CI/CD pipeline, where every change is deployed to staging automatically and promoted to production after testing.

Mistakes to avoid

  • Letting search engines in. An indexable staging site is duplicate content at another address. Protect it with a password, which also keeps visitors out. robots.txt alone does not stop search engines from indexing URLs they find linked elsewhere.
  • Overwriting live data. Pushing a staging database to production replaces orders, comments, form entries and new users created on the live site in the meantime. For dynamic sites, push files and settings, not the whole database.
  • Real side effects. A copy of a live site can send real emails, charge real payments or trigger webhooks. Switch payment gateways to test mode and route outgoing mail to a catch-all inbox.
  • A copy that drifts. A staging site with a different PHP version, plugins or data than production gives false confidence. Refresh it from production regularly.

A staging site costs little to keep and pays for itself the day an update breaks something. If a change would be embarrassing to test on the live site, it belongs on staging.

Also known as

Staging environment Staging server

Free tool

SEO Analyzer

See how this concept plays out on a real page. Over 50 on-page, technical and schema checks, each with the exact fix. No signup.

Analyze a URL

Have a question?

Get in touch if you'd like to learn more about this topic.