summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorMary Umoh <umohm12@gmail.com>2017-08-23 23:46:00 +0200
committerDylan William Hardison <dylan@hardison.net>2017-08-23 23:46:00 +0200
commit344c9475c95d5c7a9801855e991ba18ed9587ec6 (patch)
tree559ef35d7436d6c7fbfb0e6c526049362aeb2d6f /template/en
parentb5490fb2ecc5958ce6a9a2fa5897fedfad01c382 (diff)
downloadbugzilla-344c9475c95d5c7a9801855e991ba18ed9587ec6.tar.gz
bugzilla-344c9475c95d5c7a9801855e991ba18ed9587ec6.tar.xz
Bug 1388526 - Add rules to robots.txt.tmpl to account for the differences between development and production
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/robots.txt.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/robots.txt.tmpl b/template/en/default/robots.txt.tmpl
index 762b000ec..d8c1b5b86 100644
--- a/template/en/default/robots.txt.tmpl
+++ b/template/en/default/robots.txt.tmpl
@@ -1,6 +1,8 @@
User-agent: *
Disallow: /
+[% IF NOT urlbase.matches("bugzilla-dev") %]
+
Allow: /$
Allow: /index.cgi
@@ -17,3 +19,5 @@ Allow: /describecomponents.cgi
Allow: /describekeywords.cgi
[% Hook.process("end") %]
+
+[% END %]