What is a WordPress staging site? It’s a private copy of your website where you can test updates, new plugins and design changes without affecting the live site. If something breaks on staging, your customers never see it. When everything works, you apply the changes to the live site.
Making changes directly on a live business website is like renovating a shop during opening hours. Sometimes it’s fine. Sometimes a customer walks into wet paint.
Here’s how staging works and how to use it.
Why use a staging site?
- Safe updates. Test big plugin and WordPress updates before they reach real visitors. See how to update plugins safely.
- New features. Try new plugins, forms or integrations without risk.
- Design changes. Rework pages and get approval before anyone else sees them.
- PHP upgrades. Check that the site works on a newer PHP version before switching.
- Testing backups. Restore a backup to staging to check that it really works. More in how to back up WordPress properly.
How to set one up
Option 1: Your host’s staging tool (recommended)
Many managed WordPress hosts include one-click staging. You click a button, the host copies your site to a private address, and later you can push changes back. It’s the easiest and most reliable option.
Option 2: A staging plugin
Some plugins create a staging copy inside your hosting account. They work, but they use your hosting resources and the push-to-live features vary in quality.
Option 3: A local or separate copy
Developers often work on a copy on their own computer or a separate server. It’s flexible, but needs more technical knowledge to move changes back.
Keep staging private
A staging site must not appear in Google, or it competes with your real site.
- Password-protect it, or restrict access.
- Tick “Discourage search engines from indexing this site” in Settings > Reading on staging only.
- Never untick that box on staging, and never leave it ticked on the live site.
Also make sure staging doesn’t send real emails to customers. Disable or redirect outgoing email on the staging copy, especially for online shops.
Pushing changes live: the database problem
This is where most people get caught out.
Your files (themes, plugins) are easy to copy. Your database is the tricky part. It holds your content and settings, but on a live site it also holds new orders, form entries, comments and user accounts that arrived while you were working on staging.
If you push the whole staging database to live, anything that happened on the live site since you made the copy is overwritten. For an online shop, that can mean lost orders.
How to avoid it
- For updates and code changes: test on staging, then repeat the same update on the live site. Don’t push the database.
- For content and design changes: use your host’s selective push, if it offers one, or make the change on live once it’s approved on staging.
- For big rebuilds of a shop: plan a short maintenance window, or have a developer merge the changes carefully.
A simple staging routine
- Refresh staging from the live site, so it’s current.
- Make and test your changes on staging.
- Check key pages, forms and the checkout on staging.
- Take a backup of the live site.
- Apply the changes to live.
- Test the live site again.
Do small businesses really need staging?
If your website is a brochure site that changes twice a year, you can manage carefully without it. But once your site takes enquiries, bookings or payments, staging is one of the cheapest forms of insurance you can have.
It’s also why I recommend hosts with built-in staging in choosing WordPress hosting in the Philippines.
Every major update and new feature I handle in WordPress support and maintenance and WordPress development goes through staging first.
Frequently asked questions
Does a staging site cost extra?
Often not. Many managed WordPress hosts include it. Some shared hosting plans don’t, in which case a plugin or a developer’s own setup can fill the gap.
Will a staging site hurt my SEO?
Not if it’s blocked from search engines and password-protected. Problems happen when a public staging copy gets indexed as duplicate content.
Can I edit content on staging and copy it over?
You can, but be careful when pushing the database. If your live site gets new orders or form entries, edit content on live or use a selective push.
How often should I refresh staging?
Right before you start new work. An old staging copy may not match the live site, so your tests won’t be reliable.
About the author
Vincent Earl Panoncial is a WordPress developer and the founder of VEP Studio. He has built and maintained 100+ WordPress websites, most of them at digital marketing agencies, and now works directly with businesses on development, maintenance and webmaster services.
Need a hand with your WordPress site?
Tell me what your website needs and you’ll get a clear plan and an honest answer on cost before any work starts. Get a free consultation →
Featured photo by Compagnons on Unsplash.