PHPackages                             gorriecoe/silverstripe-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. gorriecoe/silverstripe-robots

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

gorriecoe/silverstripe-robots
=============================

Simple robots generation module for Silverstripe.

1.0.2(6y ago)211.7k2BSD-3-ClausePHP

Since Apr 12Pushed 6y ago2 watchersCompare

[ Source](https://github.com/gorriecoe/silverstripe-robots)[ Packagist](https://packagist.org/packages/gorriecoe/silverstripe-robots)[ Docs](http://github.com/gorriecoe/silverstripe-robots)[ RSS](/packages/gorriecoe-silverstripe-robots/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (2)

Silverstripe Robots.txt generation
==================================

[](#silverstripe-robotstxt-generation)

This module provides simple robots.txt generation for Silverstripe, with various configuration options available.

When a site is not in live mode (such as on a testing domain) it will respectively block the entire domain, ensuring that (at least respectful) search engines will refrain from indexing your test site.

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

[](#installation)

Composer is the recommended way of installing SilverStripe modules.

```
composer require gorriecoe/silverstripe-robots

```

Requirements
------------

[](#requirements)

- silverstripe/cms ^4.0

Maintainers
-----------

[](#maintainers)

- [Gorrie Coe](https://github.com/gorriecoe)

Credit
------

[](#credit)

This module is heavily inspired by [silverstripe-robots](https://github.com/tractorcow/silverstripe-robots) by Damian Mooyman

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

[](#configuration)

You can add a page or pattern to be blocked by adding it to the disallowedUrls configuration

```
gorriecoe\Robots\Robots:
  disallowed_urls:
    - 'mysecretpage.html'
    - '_private'
    - 'Documents-and-Settings/Ricky/My-Documents/faxes/sent-faxes'
```

Also by default, any page with 'ShowInSearch' set to false will also be excluded. This can be useful for hiding auxiliary pages like "thanks for signing up", or error pages.

You can turn this off (if you really absolutely think you need to) using the below.

```
gorriecoe\Robots\Robots:
  disallow_unsearchable: false
```

By default the module will check for a sitemap file in `/sitemap.xml`. You can set a custom file location using the below configuration.

```
gorriecoe\Robots\Robots:
  sitemap: '/sitemap.xml'
```

For multiple sitemaps.

```
gorriecoe\Robots\Robots:
  sitemap:
      - '/sitemap_index.xml'
      - 'http://www.gstatic.com/s2/sitemap.xml'
```

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~197 days

Total

3

Last Release

2554d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0536f68573a498329010867c6f5521f899c2294d5f599d77c8b226d68e74623d?d=identicon)[gorriecoe](/maintainers/gorriecoe)

---

Top Contributors

[![gorriecoe](https://avatars.githubusercontent.com/u/11811440?v=4)](https://github.com/gorriecoe "gorriecoe (6 commits)")

---

Tags

silverstriperobots

### Embed Badge

![Health badge](/badges/gorriecoe-silverstripe-robots/health.svg)

```
[![Health](https://phpackages.com/badges/gorriecoe-silverstripe-robots/health.svg)](https://phpackages.com/packages/gorriecoe-silverstripe-robots)
```

###  Alternatives

[tractorcow/silverstripe-robots

Simple robots generation module for Silverstripe

1395.1k7](/packages/tractorcow-silverstripe-robots)[silverstripe/multi-domain

Allows multiple domains to access one CMS instance, mapping them to different sections of the hierarchy

141.6k](/packages/silverstripe-multi-domain)

PHPackages © 2026

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