How to Set Up a WordPress Staging Site

Back to Knowledgebase
WordPress 3 min read 2 views Updated Jun 2026

A staging site is a private copy of your live WordPress site where you can test updates, new plugins and design changes without risking the real thing. If you have ever broken a live site with a bad update, staging is the fix. Here is how it works and how to set one up.

What staging is

Staging is a separate, non-public clone of your site, usually at a subdomain like staging.yourdomain.com or a host-provided URL. Visitors never see it. You make changes there, confirm everything works, then push them to live. It is the difference between testing on your customers and testing safely.

Option A: One-click staging (easiest)

Many hosts and control panels offer one-click staging. Look for a Staging button in your dashboard or in a plugin. It clones your site automatically, gives you a private URL, and offers a "push to live" button when you are done. This is by far the simplest route if your host supports it.

Option B: A staging plugin

Plugins like WP Staging create a copy inside your existing hosting. Install the plugin, click to create a staging clone, and it builds a private copy you can log into and edit. When ready, the plugin can push changes back to live.

Option C: Manual staging

If you prefer full control:

  1. Create a subdomain like staging.yourdomain.com. See How to set up a subdomain.
  2. Copy your site files into the subdomain's folder.
  3. Export the live database and import it into a new database for staging.
  4. Update wp-config.php on staging with the new database details and the staging URL.
  5. Block search engines from indexing staging (Settings, Reading, "Discourage search engines").

How to use it well

  • Test every update on staging first: core, plugins and themes.
  • Match staging to live as closely as you can, so a test result means something.
  • Push to live during quiet hours, and take a backup right before. See How to back up your server.

Keep staging private. Always discourage indexing or password-protect it, so Google never sees a duplicate of your site.

FAQ

What is a staging site for?

Testing changes safely. You try updates, plugins and edits on a private copy, confirm nothing breaks, then apply them to your live site.

Will a staging site hurt my SEO with duplicate content?

Not if you keep it private. Discourage search engines from indexing it, or password-protect it, so it is never crawled.

How do I push staging changes to live?

With one-click or plugin staging there is a "push to live" button. For manual staging you copy the changed files and merge database changes carefully, ideally during a quiet period after a backup.

Want staging handled for you? Talk to support about a Vastrox plan with built-in staging.

Was this guide helpful? Our engineers are here 24/7 if you get stuck.