Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcia Ramos <virtua.creative@gmail.com>2018-06-28 20:44:05 +0300
committerMarcia Ramos <virtua.creative@gmail.com>2018-06-28 20:44:05 +0300
commitaa98bb823e3a41b510e8fd757cc0e7fb93841657 (patch)
tree6230741e04d54f8700c83336cbf4c18fe81379ac /content/robots.txt.erb
parent8979e7f8507929425db80d0deec855d51bc787ce (diff)
fix robots.txt to prevent bots from indexing versioned docs
Diffstat (limited to 'content/robots.txt.erb')
-rw-r--r--content/robots.txt.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/content/robots.txt.erb b/content/robots.txt.erb
index e228e9f8..cb837894 100644
--- a/content/robots.txt.erb
+++ b/content/robots.txt.erb
@@ -6,6 +6,13 @@ is_hidden: true
sitemap: https://docs.gitlab.com/sitemap.xml
user-agent: *
disallow: /ce/
+disallow: /11.0/
+disallow: /10.8/
+disallow: /10.7/
+disallow: /10.6/
+disallow: /10.5/
+disallow: /10.4/
+disallow: /10.3/
<% else %>
# Ban all spiders from the entire site when not on master branch
user-agent: *