Edgewall Software

Opened 18 years ago

Closed 17 years ago

Last modified 12 years ago

#478 closed defect (fixed)

Disallow web robots indexing of old Wiki info

Reported by: daniel Owned by: daniel
Priority: normal Milestone: 0.8
Component: wiki system Version: 0.7
Severity: minor Keywords: noindex
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


Trac should send html headers to instruct searchbots to not index old versions of pages or diffs.


Attachments (0)

Change History (9)

comment:1 by anonymous, 18 years ago

Summary: Disallow web robots to old Wiki infoDisallow web robots indexing of old Wiki info

comment:4 by daniel, 18 years ago

Owner: changed from Jonas Borgström to daniel
Status: newassigned

comment:5 by daniel, 18 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [717].

comment:6 by sean.dawson@…, 17 years ago

Resolution: fixed
Status: closedreopened

Reopening; most recent version of source:trunk/trac/Wiki.py seems to have this backwards:

        if version:
                '?version=%s&amp;format=txt' % version, 'Plain Text',
            self.add_link('alternate', '?format=txt', 'Plain Text',
            # Ask web spiders to not index old versions
            req.hdf['html.norobots'] = 1

This block will set the html.norobots flag when version isn't specified (most recent page) — this isn't what you want I think.

Moving the html.robots into the first if block will fix this.

comment:7 by anonymous, 17 years ago

Resolution: fixed
Status: reopenedclosed

Good catch. This regression has been fixed in [1313]. (Please file issues like this as new tickets in the future, though.)

comment:8 by Christopher Lenz, 17 years ago

That anonymous dude was me BTW :-P

comment:9 by Christian Boos, 12 years ago

Keywords: noindex added

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.