roots / bedrock-disallow-indexing
Disallow indexing of your site on non-production environments
Package info
github.com/roots/bedrock-disallow-indexing
Type:wordpress-muplugin
pkg:composer/roots/bedrock-disallow-indexing
Fund package maintenance!
Requires
- php: >=8.2
Requires (Dev)
- laravel/pint: ^1.27
This package is auto-updated.
Last update: 2026-03-21 17:20:52 UTC
README
Bedrock Disallow Indexing
Roots Website | Bedrock Documentation
Overview
This plugin will prevent indexing of a site when DISALLOW_INDEXING is set to true and display a notice in the WordPress dashboard with a reference to the value of WP_ENV or wp_get_environment_type().
Support us
Roots is an independent open source org, supported only by developers like you. Your sponsorship funds WP Packages and the entire Roots ecosystem, and keeps them independent. Support us by purchasing Radicle or sponsoring us on GitHub — sponsors get access to our private Discord.
Community
Keep track of development and community news.
- Join us on Discord by sponsoring us on GitHub
- Join us on Roots Discourse
- Follow @rootswp on Twitter
- Follow the Roots Blog
- Subscribe to the Roots Newsletter