Free initial consultation · Flexible ongoing and project-based services Speak to our team: 020 3048 4048

What Is a Staging Site? How to Test Website Changes Safely

By Published 30 November 2026 11 min read
Illustration of a padlocked staging website window linked by a dotted arrow through a green tick to a larger live website window with a green tick badge

A staging site is a private copy of your website where updates, new plugins and design changes are tried out before they reach the live site that customers see. If something breaks on the copy, nobody outside the business notices, and you fix it or throw the change away. Any website that takes orders, bookings or enquiries should have one, but only if it is set up so that the copy cannot email customers, take payments or turn up in Google.

Quick answer: A staging site is a separate, private copy of a live website used to test changes before they go public. It stops a bad plugin update or theme change from breaking the real site. Set it up behind a password, stop it sending email and running scheduled tasks, and push only files back to the live site, because copying the staging database over the top can wipe out orders and enquiries received in the meantime.

In this guide: what a staging site is and is not, the problems it prevents, the ways a careless copy can harm the live site, how to keep it out of search results, and how to move changes live without losing data.

What is a staging site, exactly?

Most websites run on two things: files (the theme, plugins and the content management system itself) and a database (pages, posts, settings, orders, form entries and user accounts). A staging site is a second set of both, usually on the same hosting account, at its own address such as staging.yourcompany.co.uk. It looks and behaves like the live site, but only the people working on it can reach it.

The point is the order of events: change staging first, check it, then repeat the change on live. Many small business sites work the other way round, and the owner learns something broke when a customer phones to say the contact form has stopped working.

Staging is easily confused with two other copies.

Copy What it is for Who can see it
Live (production) site The real website customers use Everyone
Staging site Testing changes on a working copy before they go live Your team and your developer, behind a login
Backup Restoring the site after something goes wrong Nobody; it is stored, not running
Local copy A developer’s own working copy on their computer Only that developer

A backup does not replace staging, and staging does not replace a backup. A backup gets you back to where you were after a failure; staging stops many of those failures happening at all. Our guide to website backups for business covers the restore side.

What goes wrong when you change the live site?

The trouble usually comes from routine jobs that work nine times and fail on the tenth.

  • Plugin and theme updates. One plugin updates and clashes with another or with the theme, and the checkout throws an error or the site shows a critical error message.
  • PHP version upgrades. Hosts retire old PHP versions, and older plugins that have not been maintained can fail on the newer one.
  • New plugins. A booking calendar or pop-up quietly slows the site or clashes with caching.
  • Design changes. A new header or menu looks right on a desktop screen and breaks on phones, where most visitors arrive.

Each of these can take a site down or, worse, leave it looking fine while a form or checkout fails silently. We cover the business cost of that in what website downtime costs UK businesses. Staging does not make updates risk-free, but it moves the risk to a copy where failure costs nothing.

It also removes the temptation to delay updates. Owners burnt once by a broken update often stop updating, which leaves known vulnerabilities in place, as explained in our article on how outdated WordPress plugins put your website at risk. A staging copy makes regular updating safe enough to keep doing.

How can a staging copy harm the live site?

This is the part most guides on staging skip. A staging site starts life as an exact copy, which means it holds the same customer data, the same email settings and the same connections to payment and other outside services. The WordPress project’s own hosting handbook page on staging environments, published on 28 October 2026, warns that an unchanged copy can send emails to real customers, run scheduled events that call payment, subscription or other external services, and be indexed by search engines as duplicate content.

In practice that means a customer getting a second confirmation for last month’s order, or a renewal charged twice. Before anyone tests on a new staging site, check these points.

  • Access is restrictedAnyone with the address should hit a password prompt before they see a single page, not just the WordPress admin.Check: open the staging address in a private browser window and confirm you are asked to log in.
  • Outgoing email is stopped or capturedOrder confirmations, form notifications and newsletters should go nowhere, or to a mail catcher the developer can read.Check: submit the contact form on staging and confirm the message does not reach the normal inbox or the customer.
  • Scheduled tasks are pausedWordPress runs background jobs through WP-Cron. On a copy, these can renew subscriptions, sync stock or post to other systems.Check: ask your developer to confirm WP-Cron and any server cron jobs are disabled on staging until the scheduled events have been reviewed.
  • Payments use test modePayment gateways, shipping integrations and CRM connections should use sandbox or test credentials on staging, never the live ones.Check: look at the payment plugin’s settings on staging and confirm it shows test mode.
  • The environment is labelledSince WordPress 5.5, a site can be marked as staging with the WP_ENVIRONMENT_TYPE setting, and well-written plugins change their behaviour when they see it.Check: confirm the setting reads staging on the copy, and that it is never copied back to the live site.
  • Customer data is minimisedA copy of a shop or booking site holds names, addresses and order history, and that data needs the same protection as the original.Check: decide whether staging needs real customer records at all, and delete old copies once the work is finished.

The last point is a data protection one as much as a technical one. The ICO’s guide to what counts as personal information makes clear that data with identifiers removed or replaced is still personal data under UK GDPR; only truly anonymous data falls outside it. Renaming a few columns does not take a staging database out of scope.

How do you keep a staging site out of Google?

A staging site that Google can find is a duplicate of your real website at a different address, sometimes with half-finished pages on it. If it is indexed, people may land on it and try to buy from a site that is not taking real orders. The four common ways to prevent this are not equally good.

Method What it does Is it enough on its own?
Password (HTTP authentication) Nobody, including search engine crawlers, can load a page without the password Yes. This is the method to use
noindex tag Asks search engines not to list pages they have crawled No. Pages stay public, and it only works once each page has been crawled
robots.txt block Asks crawlers not to fetch pages No. Blocked pages can still be listed if they are linked from elsewhere
WordPress “Discourage search engines” box Adds a request not to index the site No. Search engines do not have to follow it, and it restricts nobody

Google’s own guidance on controlling what appears in Search says private content should be password-protected, which also keeps it out of results. Its documentation on blocking indexing with noindex explains why the alternatives fall short: Googlebot has to crawl a page to see a noindex rule, a robots.txt block stops it seeing the rule at all, and it can take months for an already-listed page to be revisited.

There is a trap on the way back, too. If the staging copy has “Discourage search engines” ticked or a sitewide noindex, and the whole database is copied to the live site, that setting goes with it. The live site then asks Google to drop every page. After any push from staging, check the live site’s settings and view the source of the home page for a stray noindex.

How do you push changes live without losing data?

This is where most of the real damage happens. A staging copy is a snapshot of the live database at the moment it was made. From then on, the live site keeps receiving orders, enquiries, comments and new customer accounts that the staging copy knows nothing about. If the staging database is copied over the live one, all of that is lost.

The WordPress hosting handbook’s advice is to prefer pushing files, meaning themes and plugins, rather than the full database, and to back up the live site before pushing any database tables. A sound routine looks like this:

  1. Refresh staging from live. Start each piece of work from a fresh copy, so you are testing against the site as it is today, not as it was three months ago.
  2. Make and test the change on staging. Check the pages that earn money: the contact and quote forms, the checkout, the booking calendar, and how they look on a phone.
  3. Back up the live site. Take a full backup of files and database immediately before anything changes, and confirm it finished.
  4. Move files, not the database, where possible. Plugin updates and theme changes can usually be repeated on live or deployed as files. Content and settings changes are often safer redone by hand on live than copied across.
  5. If tables must be pushed, push only those tables. Know exactly which data the push replaces, and never overwrite order, form-entry or user tables on a site that has been trading since the copy was made.
  6. Check live straight away. Submit a real enquiry, place a test order if you can, check the search engine setting and clear any caches.

Technical note: WordPress stores the site address inside its database, including inside serialised data that a plain find-and-replace corrupts. When a copy is made or pushed, addresses should be changed with a tool that handles serialised data, such as WP-CLI’s search-replace, run with a dry run first. Many host and plugin staging tools do this for you, which is one reason to use them rather than copying databases by hand.

Does every business website need a staging site?

Not always. A five-page brochure site that changes twice a year, with no shop or booking system, can manage with a backup before each update and a quick check afterwards.

The case gets stronger as the site does more. If it takes payments, bookings or enquiries that turn into revenue, runs a membership or customer portal, relies on a page builder and a long list of plugins, or is about to be redesigned, a staging copy pays for itself the first time an update goes wrong.

You can get one from your host (many plans include one-click staging; check whether it can push files only), from a staging plugin (read what it pushes back, as some copy the whole database), or from a maintenance provider who runs updates on staging first so the checks above are someone’s job rather than a hope.

Whichever route you choose, delete staging copies you no longer use. A forgotten copy on an old subdomain keeps running whatever plugins it had on the day it was made, never gets updated and is easy to overlook when a site is being cleaned up after a compromise. If you have had repeat infections, an abandoned copy is worth looking for; we explain the wider pattern in why a WordPress site keeps getting hacked again.

Frequently asked questions

Is a staging site the same as a test site?

Broadly, yes. “Test site”, “staging site” and “staging environment” are used for the same idea: a private copy where changes are checked before going live. Developers sometimes separate a development copy, where work is built, from a staging copy, where finished work gets a final check against a recent copy of live data. For most small businesses, one staging copy is enough.

Why does my site look different on staging?

Staging copies often run without the caching, content delivery network or security firewall that sit in front of the live site, and some have different PHP settings. That means a page can load slower or faster on staging and some problems only appear on live. It is a good reason to check the live site straight after every push.

My staging site is already showing in Google. What do I do?

Put the staging site behind a password straight away, so nothing more can be crawled. If you own the staging address in Search Console, you can ask for its pages to be removed from results temporarily while they drop out. Then check the live site has not picked up a noindex setting from the copy.

A staging site is one of the cheapest ways to stop routine website work turning into an outage. Set it up behind a password, stop it emailing customers or charging cards, and push files rather than databases, and it removes most of the risk from updates and redesigns. It works best as part of regular website maintenance, alongside backups and monitoring.

Updates Tested Before They Reach Your Live Site

Our WordPress maintenance service makes updates on a staging site before transferring them to production, with backups taken first.

See WordPress maintenance

About the author

Kevin Marshal

Kevin Marshal is a content writer at UK IT Services, a UK-based IT support, cyber security and digital agency. He turns complex technology topics into clear, practical guidance that business owners and decision-makers can actually use. Drawing on the expertise of the wider UK IT Services team, Kevin writes about managed IT support, cyber security, Microsoft 365, web design and development, and digital marketing, always with a focus on what works for small and medium-sized UK businesses. His goal is simple: help organisations make smarter, safer technology decisions without the jargon.

Latest insights

Talk to a UK-based IT specialist

Managed IT support, cyber security and digital services for businesses across the UK.

Get a Free Consultation
Call Us Free Consultation