How staging works
A staging site is a faithful copy of your website with the same content, plugins, theme and settings, but at a different address, for example test.yourcompany.com. Visitors don't see it and search engines don't index it. You can try whatever you like there, and if something breaks, the live site keeps running without problems.
Many hosting providers let you create a staging site with one click. Finished changes can then be pushed to the live site, or the staging copy can be thrown away and a new one created.
What staging is used for
- Updates to WordPress, WooCommerce and plugins, especially major versions.
- Changing the PHP version or moving to new hosting.
- New features: a different payment gateway, a new delivery method, a link to invoicing.
- Redesign: the new look is prepared calmly and launched all at once.
Why it matters
For an online shop, every hour of a broken checkout means lost orders. Testing changes directly on the live site is like changing tyres while driving. Most of the time it works out, but when it doesn't, the damage is usually greater than the time you saved.
A real example
A children's clothing shop needed a major WooCommerce update. On staging it turned out that an older shipping calculation plugin worked out the wrong prices with the new version. The plugin was replaced before the update went live. On the live site, customers would have been the first to notice the error, in the form of orders with zero postage.
What to watch out for
- On an online shop, don't overwrite the live database with staging, or you will lose orders that came in meanwhile.
- Turn off email sending on staging, along with live payments, so customers don't receive test messages.
- Block indexing so the copy doesn't show up in Google.
I routinely test changes on staging as part of website maintenance.