PHPackages                             su-sws/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. [HTTP &amp; Networking](/categories/http)
4. /
5. su-sws/nobots

AbandonedDrupal-module[HTTP &amp; Networking](/categories/http)

su-sws/nobots
=============

This module blocks (well-behaved) search engine robots from crawling, indexing, or archiving your site by setting a "X-Robots-Tag: noindex,nofollow,noarchive" HTTP header.

8.2.2(3y ago)144.0k—0%11GPL-2.0+PHP

Since Feb 2Pushed 3y ago21 watchersCompare

[ Source](https://github.com/SU-SWS/nobots)[ Packagist](https://packagist.org/packages/su-sws/nobots)[ RSS](/packages/su-sws-nobots/feed)WikiDiscussions 8.x-2.x Synced 1mo ago

READMEChangelog (7)DependenciesVersions (11)Used By (1)

[No Bots](https://github.com/SU-SWS/nobots)
===========================================

[](#no-bots)

##### Version: 8.x

[](#version-8x)

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

This module blocks (well-behaved) search engine robots from crawling, indexing, or archiving your site by setting a "X-Robots-Tag: noindex,nofollow,noarchive" HTTP header.

Enable the module to block search engine robots. Disable the module to let them crawl your site.

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

[](#installation)

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

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

[](#configuration)

Enable the module to block search engine robots. Disable the module to let them crawl your site.

Advanced Configuration
----------------------

[](#advanced-configuration)

You can set the `nobots` variable to **FALSE** to leave the module enabled, yet still allow robots to crawl your site.

An example use-case would be to set `$settings['nobots'] = FALSE;` in settings.php for the production environment, and `TRUE` for all other environments.

To set the state `nobots` to **TRUE**. `drush @[alias] state:set nobots 1` would block robots. You can also set the state `nobots` to **FALSE**. `drush state:set nobots 0` would set this state to false.

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)

Releases
--------

[](#releases)

Steps to build a new release:

- Checkout the latest commit from the `8.x-2.x` branch.
- Create a new branch for the release.
- Commit any necessary changes to the release branch.
    - These may include, but are not necessarily limited to:
    - Update the version in any `info.yml` files, including in any submodules.
    - Update the CHANGELOG to reflect the changes made in the new release.
- Make a PR to merge your release branch into `master`
- Give the PR a semver-compliant label, e.g., (`patch`, `minor`, `major`). This may happen automatically via Github actions (if a labeler action is configured).
- When the PR is merged to `master`, a new tag will be created automatically, bumping the version by the semver label.
- The github action is built from: [semver-release-action](https://github.com/K-Phoen/semver-release-action), and further documentation is available there.

Deprecated
----------

[](#deprecated)

This repo and su-sws/nobots is replaced by [drupal/nobots](https://www.drupal.org/project/nobots).

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity69

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~499 days

Total

5

Last Release

1118d ago

### 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 (24 commits)")[![pookmish](https://avatars.githubusercontent.com/u/7185045?v=4)](https://github.com/pookmish "pookmish (14 commits)")[![imonroe](https://avatars.githubusercontent.com/u/1263892?v=4)](https://github.com/imonroe "imonroe (6 commits)")[![jbickar](https://avatars.githubusercontent.com/u/821106?v=4)](https://github.com/jbickar "jbickar (4 commits)")[![kasperg](https://avatars.githubusercontent.com/u/73966?v=4)](https://github.com/kasperg "kasperg (2 commits)")

---

Tags

d7d8jumpstart-coremodule

### Embed Badge

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

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M318](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M292](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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