Defect #7582

hiding form pages from search engines

Added by Yuki Sonoda over 11 years ago. Updated about 11 years ago.

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


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


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 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.txt: disallow crawling issues list with a query st... Closed 2010-10-24

Associated revisions

Revision 5443
Added by Jean-Philippe Lang about 11 years ago

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


#1 Updated by Jean-Baptiste Barth over 11 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 11 years ago

  • Target version set to 1.2.0

#3 Updated by Ве Fio over 11 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 about 11 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