| Rev | Line | |
|---|
| [7204] | 1 | Notes |
|---|
| 2 | ===== |
|---|
| 3 | |
|---|
| 4 | Serve a robots.txt file from Trac. Mostly useful to tracd users, but works on |
|---|
| 5 | anything. Just put the data you want in the wiki page ``RobotsTxt``. |
|---|
| 6 | |
|---|
| 7 | Configuration |
|---|
| 8 | ============= |
|---|
| 9 | |
|---|
| 10 | To enable the plugin:: |
|---|
| 11 | |
|---|
| 12 | [components] |
|---|
| 13 | robotstxt.* = enabled |
|---|
| 14 | |
|---|
| 15 | A typical ``RobotsTxt`` wiki page will look like:: |
|---|
| 16 | |
|---|
| 17 | User-agent: * |
|---|
| 18 | Disallow: /browser |
|---|
| 19 | Disallow: /log |
|---|
| 20 | Disallow: /changeset |
|---|
| 21 | Disallow: /report |
|---|
| 22 | Disallow: /newticket |
|---|
| 23 | Disallow: /search |
|---|
Note: See
TracBrowser
for help on using the repository browser.