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.
If you have any issues, create a new ticket.
Download the zipped source from here.
There is also a version on PyPi.
General instructions on installing Trac plugins can be found on the TracPlugins page.
To enable, add the following lines to your trac.ini file:
[components] 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