From feccfdd9857df06ed778b05cdfed6da1e6d78f14 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 2 Jul 2020 03:02:44 +0000 Subject: robots.txt: disallow crawling issues list with a query string (#6734). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19844 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/welcome/robots.text.erb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/views/welcome') diff --git a/app/views/welcome/robots.text.erb b/app/views/welcome/robots.text.erb index 6f66278ad..16acc8111 100644 --- a/app/views/welcome/robots.text.erb +++ b/app/views/welcome/robots.text.erb @@ -10,3 +10,6 @@ Disallow: <%= url_for(issues_gantt_path) %> Disallow: <%= url_for(issues_calendar_path) %> Disallow: <%= url_for(activity_path) %> Disallow: <%= url_for(search_path) %> +Disallow: <%= url_for(issues_path(:sort => '')) %> +Disallow: <%= url_for(issues_path(:query_id => '')) %> +Disallow: <%= url_for(issues_path) %>?*set_filter= -- cgit v1.2.3