]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1388526 - Add rules to robots.txt.tmpl to account for the differences between...
authorMary Umoh <umohm12@gmail.com>
Wed, 23 Aug 2017 21:46:00 +0000 (17:46 -0400)
committerDylan William Hardison <dylan@hardison.net>
Wed, 23 Aug 2017 21:46:00 +0000 (17:46 -0400)
template/en/default/robots.txt.tmpl

index 762b000ecbb16f0db28c53474723866bc69077fa..d8c1b5b867c7058ecc0e9c65c2b2a4a84060bf6e 100644 (file)
@@ -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 %]