Defect #7582

hiding form pages from search engines

Added by Yuki Sonoda almost 7 years ago. Updated over 6 years ago.

Status:ClosedStart date:2011-02-09
Priority:NormalDue date:
Assignee:Jean-Baptiste Barth% Done:

0%

Category:Search engine
Target version:1.2.0
Resolution:Fixed Affected version:1.1.1

Description

Form pages like /issues/new are not worth to be indexed by search engines. And moreover it is sometimes confusing for visitors from search engine. When you have a question about redmine and you search about it, what can you do if /issues/new appears?

It happens when these form pages are opened for anonymous user. It actually happened at redmine.ruby-lang.org once. So I wrote the attached patch. This patch adds a meta element as follows in some pages:

<meta name="ROBOTS" content="NOINDEX,FOLLOW,NOARCHIVE" />

robot_exclusion.patch Magnifier (2.01 KB) Yuki Sonoda, 2011-02-09 08:20


Related issues

Related to Redmine - Defect #6734: Robots index /issues (which isn't disallowed in robots.txt) New 2010-10-24

Associated revisions

Revision 5443
Added by Jean-Philippe Lang over 6 years ago

Adds noindex,noarchive robots meta tag on form pages (#7582).

History

#1 Updated by Jean-Baptiste Barth almost 7 years ago

  • Status changed from New to 7
  • Assignee set to Jean-Baptiste Barth
  • Affected version (unused) set to 1.1.1
  • Affected version set to 1.1.1

Makes sense to me. I saw some people use it uppercase, other lowercase. Do you know if there is any difference ? (I don't care about standards here, but some exotic search engines may have bots with exotic implementations..)

#2 Updated by Jean-Philippe Lang over 6 years ago

  • Target version set to 1.2.0

#3 Updated by Ве Fio over 6 years ago

Related to #6734 (check note-9). Issue #6734 could be solved with this issue as well, since the code required is basically what's needed.

#4 Updated by Jean-Philippe Lang over 6 years ago

  • Status changed from 7 to Closed
  • Resolution set to Fixed

Patch committed in r5443. It was lowercase'd for consistency with other head tags.

Also available in: Atom PDF