wiki:RobotsTxtPlugin

Robots.txt handler

Notice: This plugin is unmaintained and available for adoption.

Description

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.

defect

5 / 5

enhancement

2 / 2

Download

Download the zipped source from here.

The plugin is also available on PyPi.

Source

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

Installation

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

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
Maintainer: none (needsadoption)
Contributors:

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