diff --git a/template/en/default/robots.txt.tmpl b/template/en/default/robots.txt.tmpl index 348ec74e25..1884ff7236 100644 --- a/template/en/default/robots.txt.tmpl +++ b/template/en/default/robots.txt.tmpl @@ -1,9 +1,9 @@ User-agent: * Disallow: [% basepath FILTER none %] Crawl-delay: 30 +[% IF Bugzilla.localconfig.urlbase == "https://bugzilla.mozilla.org/" %] [% USE Bugzilla %] - Allow: [% basepath FILTER none %]$ Allow: [% basepath FILTER none %]index.cgi @@ -24,3 +24,5 @@ Disallow: [% basepath FILTER none %]banmyipforever.cgi [% FILTER remove('#.*') %] [% Hook.process("end") %] [% END %] + +[% END %]