Opened 11 years ago

Closed 9 years ago

#1070 closed enhancement (wontfix)

Stop robots from accessing page history

Reported by: wardi-trac@… Owned by: Noah Kantrowitz
Priority: normal Component: RobotsTxtPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


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)

Change History (1)

comment:1 Changed 9 years ago by Noah Kantrowitz

Resolution: wontfix
Status: newclosed

This is outside the scope of this plugin.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.