Modify ↓
Opened 19 years ago
Closed 16 years ago
#1070 closed enhancement (wontfix)
Stop robots from accessing page history
| Reported by: | Owned by: | Noah Kantrowitz | |
|---|---|---|---|
| Priority: | normal | Component: | RobotsTxtPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.10 |
Description
The robots.txt method can't currently stop robots from indexing old versions of wiki pages.
As a work-around I've added the following rewrite rule to my apache configuration:
RewriteCond %{QUERY_STRING} ^version=(.*)$
RewriteRule ^/wiki/(.*)$ /wiki_revision/$1?version=%1 [R,L]
And I've added this to my robots.txt:
Disallow /wiki_revision
It would be nicer if this plugin had a solution for this problem, so I don't have to use Apache trickery.
Attachments (0)
Note: See
TracTickets for help on using
tickets.



This is outside the scope of this plugin.