New 24/7 monitoring and daily cloud backups now included in every Shield Pro plan.

Staging

How to create a WordPress staging site

Staging is a private copy of your site where updates and experiments cannot hurt customers. You can clone with host staging buttons, plugins, or a manual database and file copy.

Time: 45-90 minutes Level: Intermediate

What this problem looks like

A staging site should mirror production plugins, theme, and data closely. Testing on an empty WordPress install misses conflicts real content triggers.

Keep staging off Google and away from customer emails. Use noindex, HTTP auth, or host privacy toggles.

Staging copies of live shops may send real customer emails if mail plugins stay active. Disable outbound mail or use mail logging plugins on staging.

Host one-click staging

Kinsta, SiteGround, WP Engine, and others offer staging environments in the dashboard. Push and pull buttons sync database and files with fewer manual steps.

Plugin-based staging

  • WP Staging, BlogVault, or migration plugins clone to a subdirectory or subdomain.
  • Follow the wizard and exclude spam comments or large log tables when possible.
  • Run the included URL replace tool after clone completes.

Manual staging copy

  1. Create subdomain staging.example.com in hosting DNS.
  2. Copy WordPress files to the subdomain directory.
  3. Create a new database and import a production dump.
  4. Update wp-config.php with new database credentials.
  5. Run wp search-replace for production to staging URLs.

Protect staging from the public

apache
AuthType Basic
AuthName "Staging"
AuthUserFile /path/to/.htpasswd
Require valid-user
Add Disallow: / to robots.txt on staging or use the built-in noindex option in staging plugins.

Sync changes back to production

Database merges are risky for shops with new orders. Push file changes selectively and repeat tested plugin updates on production instead of overwriting the live database.

When to stop DIY and hire help

Agencies running many client sites benefit from standardized staging. BugShield sets up staging environments and controlled update workflows on Shield maintenance plans.

FAQs

Does staging need its own SSL certificate?

Yes for realistic HTTPS testing. Use Let's Encrypt on the staging subdomain.

Can staging share the production database?

No. Shared databases let staging writes corrupt live orders. Always use a separate database copy.

How often should I refresh staging?

Before major update batches or monthly for active shops so test data matches production.

Will staging hurt SEO?

Only if Google indexes it. Block crawlers and use noindex on staging domains.

Rather someone else fixed it?

Request a fix at a confirmed price. Named UK developer, secure Vault, direct chat.

Request a Fix