Part of the Sites ecosystem · 19 projects
This module allows each site within a multi-site Drupal installation to have its own unique robots.txt file. It integrates with the Sites and RobotsTxt modules, enabling different domains on the same Drupal install to serve distinct robots.txt content directly from each site's configuration.
Sites Robots.txt lets every site managed by the Sites module serve its own robots.txt. It bridges Sites with the RobotsTxt module so that the file served at /robots.txt is built from the currently active site — different domains on one Drupal install get different robots.txt content.
Features
- Per-site
robots.txtcontent, edited directly on the site. - Child sites inherit their parent site's robots.txt (child returns 404).
- Optional: return 404 for
/robots.txtwhen no site context is active.
Requirements
Drupal 11+, the Sites module and the RobotsTxt module.
Getting started
Edit a site and fill in the "Site specific robots.txt additions" field. Global behaviour is configured at /admin/config/search/sites-robotstxt.
Ask your assistant about Sites Robots.txt
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Sites ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-beta3 | Pre-release | 11 | Nov 21, 2026 | ||
| 1.0.0-beta2 | Pre-release | 11 | Nov 9, 2026 | ||
| 1.0.0-beta1 | Pre-release | 11 | Oct 22, 2026 | ||
| 1.0.0-alpha1 | Pre-release | 10–11 | Jun 23, 2026 | ||
| 1.x-dev | Dev | 11 | Jun 23, 2026 |