Modify

Opened 7 years ago

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

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 4 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

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from coderanger. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.