plugin-icon

Staging Bot Block

제작자: Jared Pomranky·
Prevent search engines from indexing staging sites by blocking or redirecting bots, with a clear admin warning banner.
버전
1.0.1
최근 업데이트일
Dec 13, 2025
Staging Bot Block

Staging sites often get accidentally indexed by Google or Bing, leading to duplicate content, keyword cannibalization, and production pages being outranked by staging domains. This plugin prevents that from happening.

Staging Bot Block can: * Block search engine bots with a 403 response and proper X-Robots-Tag headers. * Redirect bots (or bots and users) to your production domain when needed. * Display a persistent warning banner inside the WordPress admin so developers never forget that staging protections are active. * Support additional user agents through an easy settings field.

Important Notes for Staging Environments

If your hosting platform or CDN uses full-page caching (such as Cloudflare APO, WP Rocket’s page cache, or server-level varnish), cached HTML may be served directly without loading WordPress. When this happens, Staging Bot Block cannot inspect user agents, block bots, or send redirect headers.

To ensure correct behavior: * Disable Cloudflare APO or create a Cache Rule to bypass cache for the staging subdomain or for Googlebot/Bingbot. * Clear or disable caching plugins on staging. * Avoid server-level caching for staging domains.

Once caching is disabled or bypassed, all HTML pages will properly return a 403 for blocked bots or a redirect when configured.

무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.9
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.