Modify

Opened 18 years ago

Closed 15 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

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)

Change History (1)

comment:1 Changed 15 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
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.