Axle Staging Guard
Stop staging sites from emailing real customers, calling live APIs and showing up in Google. Colours the admin bar so nobody edits the wrong copy.
Solid choice
Axle Staging Guard is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 3 weeks ago, and scores 66/100 on our health check.
- Actively developed — last update 3 weeks ago
- Tested with the latest WordPress (7.1)
- Small user base (10+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Axle Staging Guard stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| api | >100 |
| >100 | |
| environment | >100 |
| noindex | >100 |
| staging | #63 |
Version adoption
Share of active sites per release.
About Axle Staging Guard
From the official readme · v2.1.0Description
Every agency has a staging story. A copy of the live database goes to staging, and then:
- a scheduled task emails every customer from the staging site,
- Google indexes staging.example.com and it outranks the real site,
- someone spends an hour editing staging, thinking it was live.
A fourth one is quieter: the copy keeps talking to your payment gateway, CRM, Mailchimp list or Zapier webhooks with the live keys it inherited.
Axle Staging Guard prevents all four, on every copy that is not the live site.
On staging, development and local copies it:
- Blocks all outgoing email, or sends it all to one test address with the real recipients shown in the subject. Cc and Bcc recipients are removed too.
- Lets your own team keep receiving email: list addresses or whole domains (@youragency.com) under “Always deliver to”.
- Keeps a list of the last 50 stopped emails (recipient, subject and time), so you can see what would have gone out. Turn on “keep message bodies” to check email content as well.
- Sends a test email from the settings screen, so you can see exactly what happens to email from this copy.
- Blocks outgoing API calls except to hosts you allow, or just logs them. It covers requests made through the WordPress HTTP API, which is what payment gateways, CRM and marketing plugins, webhook plugins, Slack notifications and license checks use. A blocked call fails with a clear error, never a fake success.
- Always lets through what WordPress needs: wordpress.org and its subdomains (updates, translations, the plugin directory), the site’s own address and localhost. Add your own hosts, with wildcards like
*.example.com. - Keeps a list of the stopped or logged calls: method, host, path, the plugin that made them and how often. No query strings, bodies or headers, and keys in webhook URLs are masked.
- “Test a URL” shows what would happen to a request, without sending it.
- Hides the site from search engines with an
X-Robots-Tagheader, anoindex, nofollowrobots meta tag and a robots.txt that blocks everything, and turns off the XML sitemap. - Colours the whole admin bar (orange for staging, blue for development, green for local) and labels it, on the dashboard and on the front end.
- Adds the environment to every browser tab title, for example “[Staging] Posts”, so the right tab is easy to find.
- Adds a Site Health check that warns when email from a staging copy could still reach real people, or when staging copies of the live site would not be detected.
On the live site it does nothing.
Free and open source under the GPL. No pro version, no upsells, no ads in wp-admin, no tracking. And it stays that way.
Part of Axle by AryanX, a family of free plugins for running WordPress sites safely.
How it knows which copy is live
- If
WP_ENVIRONMENT_TYPEis set in wp-config.php or in the server environment, it uses that. This is the WordPress standard, and many hosts set it for you. - Otherwise, use the production lock: on the live site, go to Tools > Staging Guard and click “This is the live site”. From then on, any copy of the database running on a different domain is treated as staging, with no wp-config.php change.
The lock stores a hash of the live domain instead of the domain itself. Migration tools that search and replace the domain name in the database leave the hash alone, so the lock survives the copy to staging.
If neither is set, WordPress assumes production and Axle Staging Guard stays off.
Settings in wp-config.php
Fix the email behaviour per environment, so a database copy cannot change it:
define( 'AXLE_STAGING_GUARD_MAIL_MODE', 'redirect' ); // block, redirect or allow
define( 'AXLE_STAGING_GUARD_REDIRECT_TO', 'qa@example.com' );
define( 'AXLE_STAGING_GUARD_ALLOWLIST', '@youragency.com, client@example.com' );
define( 'AXLE_STAGING_GUARD_HTTP_MODE', 'block' ); // allow, log or block
define( 'AXLE_STAGING_GUARD_HTTP_ALLOWED_HOSTS', 'sandbox.paypal.com, *.youragency.com' );
define( 'AXLE_STAGING_GUARD_HTTP_BLOCKED_HOSTS', 'hooks.slack.com' ); // always blocked, in every mode
define( 'AXLE_STAGING_GUARD_PRODUCTION_HOSTS', 'example.com, shop.example.com' ); // the live domains
define( 'AXLE_STAGING_GUARD_KEEP_BODIES', false );
define( 'AXLE_STAGING_GUARD_NOINDEX', true );
define( 'AXLE_STAGING_GUARD_LOG_DAYS', 7 );
WP-CLI
wp axle-staging-guard statusshows the environment, how it was detected, and what is guarded.wp axle-staging-guard lock-productionmarks the current domain as the live site.wp axle-staging-guard unlock-productionremoves the lock.wp axle-staging-guard loglists stopped email.wp axle-staging-guard test-email you@example.comsends a test email and reports what happened to it.wp axle-staging-guard http-loglists blocked and logged outgoing requests.wp axle-staging-guard test-url https://api.example.com/v1says what would happen to a request to that URL.
Try it before you install. try.axlewp.com/axle-staging-guard opens a private WordPress in your browser with this plugin and some demo content.
Changelog
2.1.0
- New: guard outgoing API calls on staging, not only email
2.0.1
- Fix: label the Tools menu item “Staging Guard”
2.0.0
- Changed (breaking change): rename to Axle Staging Guard for WordPress.org
1.3.0
- Fix: make the abilities visible to MCP agents
- New: add abilities so AI agents can tell staging from the live site before doing anything risky
1.2.0
- New: add filters for email handling, robots.txt, colours and labels, and actions for the production lock
- Fix: warn when the live site counts as staging, and move the email log out of one option
1.1.0
- New: “Always deliver to” allowlist for addresses and @domains.
- New: send a test email from the settings screen or WP-CLI.
- New: optionally keep message bodies in the email log.
- New: Site Health check.
- New: environment shown in browser tab titles.
- New: redesigned settings screen with status cards.
- Rewritten as PSR-4 classes.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Axle Staging Guard alternatives
All api plugins →FAQ
Axle Staging Guard: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Axle Staging Guard free?
Yes. Axle Staging Guard is free to download and use from the official WordPress.org plugin directory.
Is Axle Staging Guard safe to use in 2026?
Axle Staging Guard is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 3 weeks ago, and scores 66/100 on our health check.
How many websites use Axle Staging Guard?
Axle Staging Guard is active on 10+ WordPress websites and has been downloaded 507 times since it launched in November 2026. It was downloaded 513 times in the last 30 days.
Does Axle Staging Guard work with WordPress 7.1?
Yes. The developer has tested Axle Staging Guard up to WordPress 7.1.5, the latest release. It requires WordPress 6.6 or newer.
What PHP version does Axle Staging Guard need?
Axle Staging Guard requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Axle Staging Guard last updated?
The latest version, 2.1.0, was released on November 11, 2026 (3 weeks ago).
Who makes Axle Staging Guard?
Axle Staging Guard is developed and maintained by Aryan Jasala.
What are the best alternatives to Axle Staging Guard?
The most popular alternatives to Axle Staging Guard are WP Consent API (300K+ installs), Disable REST API (80K+ installs) and Mailgun for WordPress (70K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card


