Glossary

Staging Environment

Definition: A staging environment is a replica of the production server used to test new features, updates and configurations before deploying them live.

A staging environment (also called a pre-production environment) is a server or environment that closely mirrors the live production setup. Changes — new features, content updates, plugin upgrades — are deployed to staging first and tested thoroughly before being pushed to production.

The Three-Environment Pipeline

  • Development (Local) — The developer's own machine. Fast iteration, experimental.
  • Staging — A production replica. Full testing: QA, UAT, performance checks.
  • Production — The live site. Only proven, tested code is deployed here.

What Staging Should Mirror

  • Same server software, OS and runtime version.
  • A copy of the production database (anonymised to remove PII).
  • Same environment variables and configuration (except connection strings).
  • Same CDN and caching configuration where possible.

SEO Warning

Always block staging environments from search engine indexing using:

  • robots.txt: Disallow: /
  • HTTP authentication (password-protect the staging URL).
  • A <meta name="robots" content="noindex"> tag on all pages.