Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2016-09-24 12:40:43 +0300
committerAleksander Machniak <alec@alec.pl>2016-09-24 12:46:08 +0300
commitcce4994b9766f25caf521c28a4f3a69b417d6fe7 (patch)
treef7aff3f9f475e0e359e93b2db677c320944ebdbf /.htaccess
parent462faace73b1fa29afc24c64d28773a076ceeb9d (diff)
Control search engine crawlers via X-Robots-Tag header instead of <meta> and robots.txt (#5098)
This gives one central place to control these settings and really makes the page will not be listed in Google search results.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess3
1 files changed, 3 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 906546b28..feea19a2c 100644
--- a/.htaccess
+++ b/.htaccess
@@ -50,6 +50,9 @@ Options -Indexes
</ifModule>
<IfModule mod_headers.c>
+# Disable page indexing
+Header set X-Robots-Tag "noindex, nofollow"
+
# replace 'append' with 'merge' for Apache version 2.2.9 and later
#Header append Cache-Control public env=!NO_CACHE