| 开发者 | davidshum98 |
|---|---|
| 更新时间 | 2026年9月26日 20:13 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp staging-shield test for deploy scripts) and translations in 12 languages.No. Protections only run on sites Staging Shield considers copies. On a site that hasn't been set up yet it does nothing at all, and it only treats an address as your real site after you confirm it (or add it in wp-config.php).
Open Staging Shield > Overview on the copy and run the self-test. Every check tells you what it tried and what happened.
That's expected: the address is no longer the one you confirmed, so Staging Shield protects the site to be safe. Click "This is now my real site" in the notice, or add the new address in Staging Shield > Overview. Until you confirm it, it is never hidden from search engines or closed to visitors.
Add this line to wp-config.php. Staging Shield, and its email guard, stop doing anything:
define( 'SSHIELD_DISABLE', true );
Yes, and it's the safest way, because a copy always has a different address:
define( 'SSHIELD_PRODUCTION_URL', 'https://example.com' );
You can also force the decision with define( 'SSHIELD_ENVIRONMENT', 'staging' ); (or production), but be careful: if wp-config.php is copied to other environments, they inherit it.
Some email plugins replace how WordPress sends email. Turn on "Extra guard for email plugins" in Staging Shield > Protections: it adds a tiny must-use plugin that loads before any plugin. It does nothing on the real site and is removed when you deactivate Staging Shield.
Yes. The notifications payment services send in test mode still reach the copy. What is closed are the pages and the parts of the REST API that show content or let people buy.
Yes. Staging Shield doesn't depend on how the copy was made. It recognizes the staging domains of many hosts, and for the rest it compares the address with your real site's.
Yes, site by site: each site has its own real address and its own protections.
Staging Shield itself doesn't send your site's data anywhere. The Freemius SDK, used for the free trial and Pro licenses, only sends data if you start the trial, buy Pro or activate a license. See "External services" below.
No. Local and staging addresses (localhost, .local, .test, staging. and dev. subdomains, and the staging domains of hosts such as WP Engine) don't use up license activations, so a one-site license covers your real site and its copies.