From f6b97eed48545f73edb005566e03c7737d1c957e Mon Sep 17 00:00:00 2001 From: xianbo Date: Mon, 9 Dec 2013 08:18:03 +0800 Subject: [PATCH] modify spider say --- app/views/welcome/robots.html.erb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/views/welcome/robots.html.erb b/app/views/welcome/robots.html.erb index 10b540935..a55f4da1a 100644 --- a/app/views/welcome/robots.html.erb +++ b/app/views/welcome/robots.html.erb @@ -1,10 +1,8 @@ +# +# by trustie team +# User-agent: * <% @projects.each do |p| -%> Disallow: /projects/<%= p.to_param %>/repository -Disallow: /projects/<%= p.to_param %>/issues -Disallow: /projects/<%= p.to_param %>/activity <% end -%> -Disallow: /issues/gantt -Disallow: /issues/calendar -Disallow: /activity -Disallow: /search +Disallow: /admin/