Staging Sites: Test Changes Before They Go Live
Make a private copy of your site to test updates, new plugins and redesigns, then push only what works to your live site.
// Staging workflow live site → copy → staging staging → test updates works? → push to live broken? → delete, live is safe
🧰 What you need first
- A WordPress site
- A recent backup
🎯 What you'll learn
- Create a staging copy
- Test changes without risk
- Push changes to the live site carefully
🛠 Tools needed
- Your host's staging tool or a staging plugin
Why staging
Updating a theme, trying a new plugin or switching PHP versions can break a live site in front of your visitors. A staging site is a private copy where you test first. If it breaks there, nobody notices.
Create a staging copy
Check your host first. Many have it built in, for example WP Toolkit or Softaculous in cPanel, or a Staging button on managed WordPress hosts.
If yours doesn't, a plugin can do it. A few popular ones, in alphabetical order:
- BlogVault
- InstaWP
- WP Staging
mC0de isn't paid by any of them.
Keep it private
- Staging is on a subdomain or folder, like
staging.example.com - Settings → Reading → Discourage search engines is ticked on staging
- Optional: password-protect it with your host's Directory Privacy tool
Test your changes
- Run the updates, or install the plugin or theme, on staging.
- Click through key pages: home, contact form, checkout, login.
- Check on a phone as well.
Push to live, carefully
If everything works, either push staging to live with your host's tool, or simply repeat the same changes on the live site.
Warning: Pushing a full copy replaces the live database. Any new orders, comments or sign-ups since you made the copy can be lost. For busy sites, repeat the changes by hand instead, or push files only.
Tip: Take a backup of the live site right before you push.
FAQ
Does staging slow down my live site?
No. It's a separate copy, though it uses some of your disk space.
Should I delete staging when I'm done?
Yes, or refresh it before the next test, so it doesn't hold outdated copies of your data.
Can Google find my staging site?
Only if you leave it open. Tick Discourage search engines and add a password.
Key takeaways
Keep going
- Test a PHP upgrade safely: PHP Settings Worth Checking
- Back up before you push: Setting Up Automatic Backups
Enjoyed this guide?
Support free learning at mC0de.
