PHPackages                             devgeniem/wp-noindex-testing-staging-robots - 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. devgeniem/wp-noindex-testing-staging-robots

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

devgeniem/wp-noindex-testing-staging-robots
===========================================

Uses robots.txt to not index development/testing environments of this site with search-engines

1.0.1(9y ago)115.8k—5.3%MITPHPPHP &gt;=5.6

Since Oct 30Pushed 9y ago5 watchersCompare

[ Source](https://github.com/devgeniem/wp-noindex-testing-staging-robots)[ Packagist](https://packagist.org/packages/devgeniem/wp-noindex-testing-staging-robots)[ Docs](https://github.com/devgeniem/wp-safe-fast-and-clean-collection)[ RSS](/packages/devgeniem-wp-noindex-testing-staging-robots/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

[![geniem-github-banner](https://cloud.githubusercontent.com/assets/5691777/14319886/9ae46166-fc1b-11e5-9630-d60aa3dc4f9e.png)](https://cloud.githubusercontent.com/assets/5691777/14319886/9ae46166-fc1b-11e5-9630-d60aa3dc4f9e.png)

WP MU-Plugin: Hide Development/Testing enviroments from robots
==============================================================

[](#wp-mu-plugin-hide-developmenttesting-enviroments-from-robots)

[![Latest Stable Version](https://camo.githubusercontent.com/16a69616e3d2529107b329c47c95a7014f4b56e0f36f240315c489c7cb5c6829/68747470733a2f2f706f7365722e707567782e6f72672f64657667656e69656d2f77702d6e6f696e6465782d74657374696e672d73746167696e672d726f626f74732f762f737461626c65)](https://packagist.org/packages/devgeniem/wp-noindex-testing-staging-robots) [![Total Downloads](https://camo.githubusercontent.com/9841267fb13a5d147f0236aaa35155bcc26c2b663e944a0a539a955ec54e28e2/68747470733a2f2f706f7365722e707567782e6f72672f64657667656e69656d2f77702d6e6f696e6465782d74657374696e672d73746167696e672d726f626f74732f646f776e6c6f616473)](https://packagist.org/packages/devgeniem/wp-noindex-testing-staging-robots) [![Latest Unstable Version](https://camo.githubusercontent.com/4e8c98e3ed3fb6ba915d1897bb58fe4528c341e18944e906d58125ddbe8a3843/68747470733a2f2f706f7365722e707567782e6f72672f64657667656e69656d2f77702d6e6f696e6465782d74657374696e672d73746167696e672d726f626f74732f762f756e737461626c65)](https://packagist.org/packages/devgeniem/wp-noindex-testing-staging-robots) [![License](https://camo.githubusercontent.com/9a358ff697fa8a69f3111da35c2f790e88a440879249f8cfe2b234d98dd7b6f1/68747470733a2f2f706f7365722e707567782e6f72672f64657667656e69656d2f77702d6e6f696e6465782d74657374696e672d73746167696e672d726f626f74732f6c6963656e7365)](https://packagist.org/packages/devgeniem/wp-noindex-testing-staging-robots)

Deny site from `/robots.txt` if it's accessed with `WP_ENV=staging` or `WP_ENV=testing`.

Also denys it if the site is accessed with domain that ends with domain mentioned in `WP_HIDE_ROBOTS_DOMAINS`.

Installation
------------

[](#installation)

```
$ composer require devgeniem/wp-noindex-testing-staging-robots

```

Example config
--------------

[](#example-config)

```
// hides site from robots if its accessed from any geniem.io or example.com subdomain.
define('WP_HIDE_ROBOTS_DOMAINS','geniem.io,example.com');
```

Maintainer
----------

[](#maintainer)

[Onni Hakala](https://github.com/onnimonni)[Liblastic](https://github.com/Liblastic)

License
-------

[](#license)

MIT

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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

Unknown

Total

1

Last Release

3487d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5691777?v=4)[Onni Hakala](/maintainers/onnimonni)[@onnimonni](https://github.com/onnimonni)

![](https://avatars.githubusercontent.com/u/11960000?v=4)[Hion Digital Oy](/maintainers/devgeniem)[@devgeniem](https://github.com/devgeniem)

---

Top Contributors

[![onnimonni](https://avatars.githubusercontent.com/u/5691777?v=4)](https://github.com/onnimonni "onnimonni (6 commits)")[![Liblastic](https://avatars.githubusercontent.com/u/8523479?v=4)](https://github.com/Liblastic "Liblastic (1 commits)")

---

Tags

wordpressdevelopmentrobotsnoindexstaging

### Embed Badge

![Health badge](/badges/devgeniem-wp-noindex-testing-staging-robots/health.svg)

```
[![Health](https://phpackages.com/badges/devgeniem-wp-noindex-testing-staging-robots/health.svg)](https://phpackages.com/packages/devgeniem-wp-noindex-testing-staging-robots)
```

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k441.8k2](/packages/roots-bedrock)[bostondv/bootstrap-ninja-forms

Adds Bootstrap classes to Ninja Forms

222.2k](/packages/bostondv-bootstrap-ninja-forms)

PHPackages © 2026

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