Merge pull request #5461 from robwent/v5-develop

Blocks search engine crawling and indexing
This commit is contained in:
David Bomba 2021-04-18 08:55:44 +10:00 committed by GitHub
commit 09e428d160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -19,3 +19,8 @@
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
<IfModule mod_headers.c>
# Blocks Search Engine Indexing
Header set X-Robots-Tag "noindex, nofollow"
</IfModule>

View File

@ -1,2 +1,2 @@
User-agent: *
Disallow:
Disallow: /