2015-08-18 02:11:16 -04:00
# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2011-10-08 17:36:38 -04:00
#
# To ban all spiders from the entire site uncomment the next two lines:
# User-Agent: *
# Disallow: /
2015-08-18 02:11:16 -04:00
# Add a 1 second delay between successive requests to the same server, limits resources used by crawler
# Only some crawlers respect this setting, e.g. Googlebot does not
# Crawl-delay: 1
2019-09-26 08:06:00 -04:00
# Based on details in https://gitlab.com/gitlab-org/gitlab/blob/master/config/routes.rb, https://gitlab.com/gitlab-org/gitlab/blob/master/spec/routing, and using application
2017-01-18 07:21:16 -05:00
User-Agent: *
2015-08-18 02:11:16 -04:00
Disallow: /autocomplete/users
Disallow: /search
Disallow: /api
Disallow: /admin
Disallow: /profile
Disallow: /dashboard
Disallow: /projects/new
Disallow: /groups/new
Disallow: /groups/*/edit
Disallow: /users
2018-03-22 05:55:02 -04:00
Disallow: /help
2018-09-07 03:27:29 -04:00
# Only specifically allow the Sign In page to avoid very ugly search results
Allow: /users/sign_in
2015-08-18 02:11:16 -04:00
# Global snippets
2017-01-18 07:21:16 -05:00
User-Agent: *
2016-09-23 10:57:44 -04:00
Disallow: /s/
2015-08-18 02:11:16 -04:00
Disallow: /snippets/new
Disallow: /snippets/*/edit
Disallow: /snippets/*/raw
# Project details
2017-01-18 07:21:16 -05:00
User-Agent: *
2015-08-18 02:11:16 -04:00
Disallow: /*/*.git
Disallow: /*/*/fork/new
Disallow: /*/*/repository/archive*
Disallow: /*/*/activity
Disallow: /*/*/new
Disallow: /*/*/edit
Disallow: /*/*/raw
Disallow: /*/*/blame
Disallow: /*/*/commits/*/*
2015-10-05 02:39:24 -04:00
Disallow: /*/*/commit/*.patch
Disallow: /*/*/commit/*.diff
2015-08-18 02:11:16 -04:00
Disallow: /*/*/compare
Disallow: /*/*/branches/new
Disallow: /*/*/tags/new
Disallow: /*/*/network
Disallow: /*/*/graphs
Disallow: /*/*/milestones/new
Disallow: /*/*/milestones/*/edit
Disallow: /*/*/issues/new
Disallow: /*/*/issues/*/edit
Disallow: /*/*/merge_requests/new
Disallow: /*/*/merge_requests/*.patch
Disallow: /*/*/merge_requests/*.diff
Disallow: /*/*/merge_requests/*/edit
Disallow: /*/*/merge_requests/*/diffs
Disallow: /*/*/project_members/import
Disallow: /*/*/labels/new
Disallow: /*/*/labels/*/edit
Disallow: /*/*/wikis/*/edit
Disallow: /*/*/snippets/new
Disallow: /*/*/snippets/*/edit
Disallow: /*/*/snippets/*/raw
Disallow: /*/*/deploy_keys
Disallow: /*/*/hooks
Disallow: /*/*/services
Disallow: /*/*/protected_branches
2016-05-12 19:32:09 -04:00
Disallow: /*/*/uploads/
2018-11-29 17:06:42 -05:00
Disallow: /*/-/group_members
Disallow: /*/project_members
2020-01-03 04:07:33 -05:00
Disallow: /groups/*/-/analytics