Patch #38201

Improve robots.txt to disallow issue lists with a sort or query_id parameter in any position

Added by Felix Schäfer 14 days ago. Updated 11 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:SEO
Target version:4.2.10

Description

Currently the robots.txt file only disallows issue lists where the sort parameter is first in the list /issues?sort=, the sort parameter might not always be the first in the parameter list though, e.g. /issues?page=2&sort=.

38201.patch Magnifier (787 Bytes) Felix Schäfer, 2023-01-20 13:56


Related issues

Related to Redmine - Defect #6734: robots.txt: disallow crawling issues list with a query st... Closed 2010-10-24

Associated revisions

Revision 22070
Added by Go MAEDA 11 days ago

Fix robots.txt to disallow issue lists with a sort or query_id parameter in any position, not just first (#38201).

Patch by Felix Schäfer.

Revision 22072
Added by Go MAEDA 11 days ago

Merged r22070 from trunk to 5.0-stable (#38201).

Revision 22073
Added by Go MAEDA 11 days ago

Merged r22070 from trunk to 4.2-stable (#38201).

History

#1 Updated by Felix Schäfer 14 days ago

The attached patch improves the robots.txt file in a way similar than the line for the set_filter parameter for the parameters sort and query_id.

#2 Updated by Go MAEDA 14 days ago

  • Related to Defect #6734: robots.txt: disallow crawling issues list with a query string added

#3 Updated by Go MAEDA 14 days ago

  • Target version set to 4.2.10

Setting the target version to 4.2.10.

#4 Updated by Go MAEDA 11 days ago

  • Subject changed from Improve robots.txt to Improve robots.txt to disallow issue lists with a sort or query_id parameter in any position
  • Category changed from Performance to SEO
  • Status changed from New to Resolved
  • Assignee set to Go MAEDA

Committed the fix. Thank you.

#5 Updated by Go MAEDA 11 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF