Edgewall Software
Modify

Opened 11 years ago

Last modified 11 years ago

#9601 new defect

Disallow robot navigation for edit pages

Reported by: anatoly techtonik <techtonik@…> Owned by:
Priority: low Milestone: next-major-releases
Component: wiki system Version:
Severity: minor Keywords: noindex
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Quite often search results contain links to Trac wiki pages that lead to ?action=edit URLs. These could be disallowed for crawlers.

http://www.google.com/search?q=genshi+%3Faction%3Dedit

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 11 years ago

Component: generalwiki system
Keywords: noindex added
Milestone: next-major-0.1X
Priority: normallow
Severity: normalminor

We currently generate something like:

   <form method="get" action="/wiki/GenshiTutorial" id="modifypage"> 
                <div> 
                  <input type="hidden" name="action" value="edit" /> 
                      <input type="submit" value="Edit this page" /> 
                </div> 
              </form> 

I wonder if changing the "get" to a "post" would make the bots less likely to follow and index the resulting page?

Besides the edit page could itself contain a "NOINDEX" meta tag (see #478).

comment:2 by anatoly techtonik <techtonik@…>, 11 years ago

IMHO 'post' should do the trick if there are no other links, but this can only be confirmed after comparing spider's activity in server's log. How about t.e.o?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


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