PHPackages                             su-sws/stanford\_metatag\_nobots - 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. su-sws/stanford\_metatag\_nobots

Abandoned → [drupal/nobots](/?search=drupal%2Fnobots)ArchivedDrupal-custom-module

su-sws/stanford\_metatag\_nobots
================================

stanford\_metatag\_nobots for blocking robots

2382[1 issues](https://github.com/SU-SWS/stanford_metatag_nobots/issues)PHP

Since Feb 20Pushed 8y ago9 watchersCompare

[ Source](https://github.com/SU-SWS/stanford_metatag_nobots)[ Packagist](https://packagist.org/packages/su-sws/stanford_metatag_nobots)[ RSS](/packages/su-sws-stanford-metatag-nobots/feed)WikiDiscussions 7.x-3.x-dev Synced 2d ago

READMEChangelog (5)DependenciesVersions (1)Used By (0)

\#[Stanford Metatag Nobots](https://github.com/SU-SWS/stanford_metatag_nobots)

##### Version: 7.x-3.x

[](#version-7x-3x)

Maintainers: [jbickar](https://github.com/jbickar), [sherakama](https://github.com/sherakama)[Changelog.txt](CHANGELOG.txt)

This module prevents search engine robots from crawling and indexing a website while it is still in development. This module should only be enabled if you do not want your website to be indexed. Please disable this module when a site is ‘live’.

This is a simple Drupal Features module blocking search engine robots from indexing a site via the X-Robots-Tag HTTP header.

See [https://developers.google.com/webmasters/control-crawl-index/docs/robots\_meta\_tag](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag) for more information on that HTTP header.

To use: enable the Feature. This will cause all requests to your site to return the following HTTP header:

```
X-Robots-Tag:noindex,nofollow,noarchive

```

You probably will want to disable this module before launching a site.

To test if it's working, you can use curl:

```
curl -I https://foo.stanford.edu/

```

The HTTP headers will be written to stdout

Or, if you want to be more fancy:

```
curl -sS -I https://foo.stanford.edu/ | grep 'X-Robots'

```

That should output "X-Robots-Tag: noindex,nofollow,noarchive" if the headers are being sent correctly.

This will block (well-behaved) search engine robots from crawling your website.

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

[](#installation)

Install this module like any other module. [See Drupal Documentation](https://drupal.org/documentation/install/modules-themes/modules-7)

Configuration
-------------

[](#configuration)

Nothing special needed.

Troubleshooting
---------------

[](#troubleshooting)

If you are experiencing issues with this module try reverting the feature first. If you are still experiencing issues try posting an issue on the GitHub issues page.

Contribution / Collaboration
----------------------------

[](#contribution--collaboration)

You are welcome to contribute functionality, bug fixes, or documentation to this module. If you would like to suggest a fix or new functionality you may add a new issue to the GitHub issue queue or you may fork this repository and submit a pull request. For more help please see [GitHub's article on fork, branch, and pull requests](https://help.github.com/articles/using-pull-requests)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/680d4f5083667895b9323d1f792118734589007acc782a6e60e63d95f87d6081?d=identicon)[stanfordwebservices](/maintainers/stanfordwebservices)

---

Top Contributors

[![sherakama](https://avatars.githubusercontent.com/u/550602?v=4)](https://github.com/sherakama "sherakama (15 commits)")[![jbickar](https://avatars.githubusercontent.com/u/821106?v=4)](https://github.com/jbickar "jbickar (14 commits)")[![cjwest](https://avatars.githubusercontent.com/u/284440?v=4)](https://github.com/cjwest "cjwest (3 commits)")[![kmakitan](https://avatars.githubusercontent.com/u/13700300?v=4)](https://github.com/kmakitan "kmakitan (2 commits)")

### Embed Badge

![Health badge](/badges/su-sws-stanford-metatag-nobots/health.svg)

```
[![Health](https://phpackages.com/badges/su-sws-stanford-metatag-nobots/health.svg)](https://phpackages.com/packages/su-sws-stanford-metatag-nobots)
```

PHPackages © 2026

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