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: 4 032 047

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-21 17:20:52 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

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.