disable crawler bots
This commit is contained in:
parent
b46a1ab4d5
commit
ad77e882af
|
@ -1,22 +1,6 @@
|
|||
# robots.txt for <%= root_url %>
|
||||
|
||||
User-agent: *
|
||||
Disallow: /*/*/tree/*
|
||||
Disallow: /*/*/blob/*
|
||||
Disallow: /*/*/wiki/*/*
|
||||
Disallow: /*/*/issues?*
|
||||
Disallow: /*/*/commits/*
|
||||
Disallow: /*/blame/
|
||||
Disallow: /*/raw/
|
||||
Disallow: /*.git
|
||||
Disallow: /*.git/
|
||||
Disallow: /search
|
||||
Disallow: /users/sign_up
|
||||
Disallow: /users/sign_in
|
||||
Disallow: /users/password/new
|
||||
Disallow: /users/register_requests/new
|
||||
Disallow: /invite.html
|
||||
Disallow: /thanks.html
|
||||
Allow: /
|
||||
Disallow: /
|
||||
Host: <%= root_url.gsub(/\/$/, '') %>
|
||||
Sitemap: <%= sitemap_url %>
|
||||
Sitemap: <%= sitemap_url %>
|
||||
|
|
Loading…
Reference in New Issue