Robots.txt handler

Notice: This plugin is unmaintained and available for adoption.


This plugin allows you to serve the robots.txt file from Trac. The wiki page with name RobotsTxt will display the contents of the prevailing robots.txt file. Primarily useful to tracd users.

Bugs/Feature Requests

Existing bugs and feature requests for RobotsTxtPlugin are here.

If you have any issues, create a new ticket.


5 / 5


2 / 2


Download the zipped source from here.

The plugin is also available on PyPi.


You can check out RobotsTxtPlugin from here using Subversion, or browse the source with Trac.


General instructions on installing Trac plugins can be found on the TracPlugins page.

To enable, add the following lines to your trac.ini file:

robotstxt.* = enabled

A typical RobotsTxt Wiki page will look as follows:

User-agent: *
Disallow: /browser
Disallow: /log
Disallow: /changeset
Disallow: /report
Disallow: /newticket
Disallow: /search

Recent Changes

16757 by rjollos on 2017-08-25 18:50:13
TracRobotsTxt 2.1: Run autopep8 on codebase
14006 by rjollos on 2014-07-14 04:32:52
Encode content as utf-8. Patch by eseifert. Fixes #6379.
14005 by rjollos on 2014-07-14 04:28:57
Added 3-Clause BSD license text.


Author: coderanger
Maintainer: none (needsadoption)

Last modified 7 years ago Last modified on Aug 25, 2017, 6:42:02 PM