Gorilla Staging Guard
Stops staging sites emailing customers, charging cards through the gateways it knows, running automations and being listed by search engines.
Install in
A staging site of your live site carries your whole database with it: your customers, your payment settings, your scheduled tasks. Whether your host, a plugin or you made it (a local site, a clone or a restored backup counts too), it can email those customers, charge their cards, run renewals and show up in search results as if it were the real shop.
Gorilla Staging Guard stops that on every staging site, and leaves your live site alone.
What a staging site can no longer do
- Email your customers. WordPress’s email is stopped and reported as sent, so forms and orders still work for testing. The common mailers and email services are covered, and the plugin names any it cannot stop.
- Take real payments through the gateways it knows. Stripe, PayPal, Mollie, Square, Authorize.Net, POLi, Amazon Pay, Affirm and Intuit Payments read their settings as test mode. Nothing is saved, so pushing the staging site back over the live site leaves real payments on.
- Run your automations. Scheduled tasks and store actions pause, subscription renewals are not charged, and webhooks are not delivered.
- Contact the live site. It cannot reach your live site through WordPress’s own connections.
- Be listed by search engines. Search engines are asked not to list it, and WordPress offers no sitemap.
A label in the admin bar (“Env: Staging”, “Env: Development”, “Env: Production”) shows you which site you are on.
How it knows a site is a staging site
The live site records its own address the first time an administrator opens wp-admin there, when that address is clearly the main domain (otherwise it asks). A staging site carries that record with it, under a different address: a subdomain such as staging.example.com, a folder such as example.com/staging, or a name that says it is a staging site. No setting is needed on the staging site. Hosts and agencies can also say so in wp-config.php.
Safe for the live site
The live site’s own address and www are never treated as a staging site by their address alone. A site whose address does not clearly look like a staging site is asked about, never blocked: until you answer, it sends email and takes payments as usual. Nothing the plugin forces on a staging site is saved, so nothing it changes travels back to the live site.
Proof, not promises
On a staging site, the self-test asks each protection what it would do with a harmless test message, payment setting or task, and shows the answer. On the live site, “What would a staging site do?” runs the same test without changing anything. The Activity tab lists what was stopped, with addresses partly hidden.
Free, with no account
No sign-up, no upsell, no outside service. The plugin makes no requests of its own.
Documentation
The full guide, from how it knows a site is a staging site to every setting, is at https://docs.gorillaplugins.com/staging-guard/.
More plugins from the same team at https://gorillaplugins.com.
Written by Joobi from the project's own listing. See the source page
1.0.1
- The self-test names every payment gateway switched on that this plugin does not hold in test mode, and shows payments as Partial. Before, it said Working and only “Other gateways are not covered”.
- Amazon Pay, Affirm and Intuit Payments read their settings as test mode on a staging site.
- Every help icon on the Settings tab opens its section of the guide, and can be reached and read with the keyboard and screen readers.
- The help icons are easier to see.
- The About tab is now Help: it links to the guide and the support forum, and its Debug information says more (the settings in wp-config.php, the self-test, the staging site’s choices; never an email address).
- A quiet line under the screen links to Gorilla DevOps and gorillaplugins.com.
- The Status tab links each reason and each self-test result to its explanation in the guide.
- Saving the Settings tab checks the form’s security token and your permission before it reads anything, and saving another settings screen no longer tests this plugin’s token.
- After a save, only the “Settings saved.” message fades; notices from WordPress and other plugins stay.
- For other plugins: gorilla_staging_guard_is_copy(), gorilla_staging_guard_environment() and the gorilla_staging_guard_verdict_changed action, which fires once when a site becomes, or stops being, a staging site.
1.0.0
- First release.
Follow this listing's changes (Atom feed)