From 6d0c25128c5a1381bbdddc65ca8c36a9a63150f1 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 2 Oct 2022 19:17:33 +0100 Subject: [PATCH] Always disallow wagtail admin --- website/common/templates/robots.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/common/templates/robots.txt b/website/common/templates/robots.txt index ca0f4cc..0f9c173 100644 --- a/website/common/templates/robots.txt +++ b/website/common/templates/robots.txt @@ -1,10 +1,10 @@ {% if SEO_INDEX %} User-agent: * Allow: / -Disallow: {% url "wagtailadmin_home" %} {% else %} User-agent: * Disallow: / {% endif %} +Disallow: {% url "wagtailadmin_home" %} Sitemap: {{ sitemap }}