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-10 01:50:19 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
We're dedicated to pushing modern WordPress development forward through our open source projects, and we need your support to keep building. You can support our work by purchasing Radicle, our recommended WordPress stack, or by sponsoring us on GitHub. Every contribution directly helps us create better tools for the WordPress ecosystem.
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