diff options
author | Aleksander Machniak <alec@alec.pl> | 2016-09-24 12:40:43 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2016-09-24 12:46:08 +0300 |
commit | cce4994b9766f25caf521c28a4f3a69b417d6fe7 (patch) | |
tree | f7aff3f9f475e0e359e93b2db677c320944ebdbf /.htaccess | |
parent | 462faace73b1fa29afc24c64d28773a076ceeb9d (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-- | .htaccess | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |