Opened 8 years ago

Closed 5 years ago

#1070 closed enhancement (wontfix)

Stop robots from accessing page history

Reported by: wardi-trac@… Owned by: coderanger
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 5 years ago by coderanger

  • Resolution set to wontfix
  • Status changed from new to closed

This is outside the scope of this plugin.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.