wiki:RobotsTxtPlugin

Version 2 (modified by omry, 17 years ago) (diff)

addded RobotsTxt example

Robots.txt handler

Notice: This plugin is unmaintained and available for adoption.

Description

Serve a robots.txt file from Trac. Mostly useful to tracd users, but works on anything. Just put the data you want in the wiki page RobotsTxt.

Bugs/Feature Requests

Existing bugs and feature requests for RobotsTxtPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:robotstxtplugin here].

Source

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

Example

To enable:

[components]
robotstxt.* = enabled

A typical RobotsTxt Wiki page will look like:

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.
(more)

Author/Contributors

Author: coderanger
Contributors: