roots/bedrock-disallow-indexing

Disallow indexing of your site on non-production environments

Maintainers

Package info

github.com/roots/bedrock-disallow-indexing

Forum

Type:wordpress-muplugin

pkg:composer/roots/bedrock-disallow-indexing

Fund package maintenance!

roots

Statistics

Installs: 3 936 592

Dependents: 37

Suggesters: 1

Stars: 13

Open Issues: 0

2.1.0 2026-03-10 01:48 UTC

This package is auto-updated.

Last update: 2026-03-10 01:50:19 UTC


README

Bedrock

Packagist Packagist Downloads Follow Roots Sponsor Roots

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.