PHPackages                             roots/bedrock-disallow-indexing - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. roots/bedrock-disallow-indexing

ActiveWordpress-muplugin[Utility &amp; Helpers](/categories/utility)

roots/bedrock-disallow-indexing
===============================

Disallow indexing of your site on non-production environments

2.1.0(2mo ago)134.0M—2.7%220MITPHPPHP &gt;=8.2CI passing

Since May 20Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/roots/bedrock-disallow-indexing)[ Packagist](https://packagist.org/packages/roots/bedrock-disallow-indexing)[ GitHub Sponsors](https://github.com/roots)[ RSS](/packages/roots-bedrock-disallow-indexing/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (5)Used By (20)

 [ ![Bedrock](https://camo.githubusercontent.com/f2375853612cf550307d648da4899ad98dfa9c55e6654b7391e3ea9defcbfe41/68747470733a2f2f63646e2e726f6f74732e696f2f6170702f75706c6f6164732f6c6f676f2d626564726f636b2e737667) ](https://roots.io/bedrock/)

 [![Packagist](https://camo.githubusercontent.com/a180addc11aba2300f377ca628e0078e8562899a6cee8dee313c81d21a8fa37c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6f74732f626564726f636b2d646973616c6c6f772d696e646578696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/roots/bedrock-disallow-indexing) [![Packagist Downloads](https://camo.githubusercontent.com/87041504e3af7aa0fb812ec90a481dd857b6ff58e68442548d18752d5698327f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f6f74732f626564726f636b2d646973616c6c6f772d696e646578696e673f6c6162656c3d646f776e6c6f61647326636f6c6f72423d32623330373226636f6c6f72413d353235646463267374796c653d666c61742d737175617265)](https://packagist.org/packages/roots/bedrock-disallow-indexing) [![Follow Roots](https://camo.githubusercontent.com/222256dbdeac58e77f017d847dca30ff4cab027cdf3abfec8e5bfd59de240547/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f666f6c6c6f7725323040726f6f747377702d3164613166323f6c6f676f3d74776974746572266c6f676f436f6c6f723d666666666666266d6573736167653d267374796c653d666c61742d737175617265)](https://twitter.com/rootswp) [![Sponsor Roots](https://camo.githubusercontent.com/31e13361135ff96d01f1eb97157d052029e6f236249996072d8b6bd60b40e9cd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73706f6e736f72253230726f6f74732d3532356464633f6c6f676f3d676974687562267374796c653d666c61742d737175617265266c6f676f436f6c6f723d666666666666266d6573736167653d)](https://github.com/sponsors/roots)

 **Bedrock Disallow Indexing**

 [Roots Website](https://roots.io/) | [Bedrock Documentation](https://roots.io/docs/bedrock/master/installation/)

Overview
--------

[](#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`](https://roots.io/bedrock/docs/environment-variables/#wp-env) or [`wp_get_environment_type()`](https://developer.wordpress.org/reference/functions/wp_get_environment_type/).

Support us
----------

[](#support-us)

Roots is an independent open source org, supported only by developers like you. Your sponsorship funds [WP Packages](https://wp-packages.org/) and the entire Roots ecosystem, and keeps them independent. Support us by purchasing [Radicle](https://roots.io/radicle/) or [sponsoring us on GitHub](https://github.com/sponsors/roots) — sponsors get access to our private Discord.

Community
---------

[](#community)

Keep track of development and community news.

- Join us on Discord by [sponsoring us on GitHub](https://github.com/sponsors/roots)
- Join us on [Roots Discourse](https://discourse.roots.io/)
- Follow [@rootswp on Twitter](https://twitter.com/rootswp)
- Follow the [Roots Blog](https://roots.io/blog/)
- Subscribe to the [Roots Newsletter](https://roots.io/subscribe/)

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance87

Actively maintained with recent releases

Popularity51

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 77.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2120 days

Total

2

Last Release

70d ago

PHP version history (2 changes)2.0.0PHP &gt;=7.1

2.1.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f6a3f6809aec26ab615cf9c5ae69c37d5068c8613e77a3aad4e97bad98d0fb3?d=identicon)[swalkinshaw](/maintainers/swalkinshaw)

![](https://www.gravatar.com/avatar/f3f71fa88954b93f55af5e121f1d8c38d240a0d17712c092a389bcccffa34415?d=identicon)[retlehs](/maintainers/retlehs)

![](https://avatars.githubusercontent.com/u/2104321?v=4)[QWp6t](/maintainers/QWp6t)[@QWp6t](https://github.com/QWp6t)

---

Top Contributors

[![retlehs](https://avatars.githubusercontent.com/u/115911?v=4)](https://github.com/retlehs "retlehs (7 commits)")[![mcaskill](https://avatars.githubusercontent.com/u/29353?v=4)](https://github.com/mcaskill "mcaskill (1 commits)")[![QWp6t](https://avatars.githubusercontent.com/u/2104321?v=4)](https://github.com/QWp6t "QWp6t (1 commits)")

---

Tags

bedrockwordpresswordpress-mu-pluginwordpress

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/roots-bedrock-disallow-indexing/health.svg)

```
[![Health](https://phpackages.com/badges/roots-bedrock-disallow-indexing/health.svg)](https://phpackages.com/packages/roots-bedrock-disallow-indexing)
```

###  Alternatives

[tgmpa/tgm-plugin-activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins).

1.8k222.5k13](/packages/tgmpa-tgm-plugin-activation)[aristath/kirki

Extending the WordPress customizer

1.3k73.0k4](/packages/aristath-kirki)[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)[justintadlock/hybrid-carbon

God-like post featured image script.

202.5k](/packages/justintadlock-hybrid-carbon)[typisttech/wp-admin-notices

A simplified OOP implementation of the WordPress admin notices

141.2k](/packages/typisttech-wp-admin-notices)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
