From 0a9fb0257eee127b97f123a12d80973cd687b267 Mon Sep 17 00:00:00 2001 From: Robert Went Date: Sat, 17 Apr 2021 22:14:27 +0100 Subject: [PATCH] Blocks search engine crawling and indexing Related to #5460 --- public/.htaccess | 5 +++++ public/robots.txt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/public/.htaccess b/public/.htaccess index b75525bedcd8..6e42507d8d65 100755 --- a/public/.htaccess +++ b/public/.htaccess @@ -19,3 +19,8 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] + + + # Blocks Search Engine Indexing + Header set X-Robots-Tag "noindex, nofollow" + diff --git a/public/robots.txt b/public/robots.txt index eb0536286f30..1f53798bb4fe 100755 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,2 +1,2 @@ User-agent: * -Disallow: +Disallow: /