1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 12:42:36 +01:00

Moves noindex into conditional statement

related to #1620
This commit is contained in:
Robert Went 2017-08-16 15:11:46 +01:00
parent 42bf414a9b
commit ceef6d6b04

View File

@ -5,9 +5,6 @@
RewriteEngine On
# Blocks Search Engine Indexing
Header set X-Robots-Tag "noindex, nofollow"
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
@ -24,3 +21,8 @@
# you have to enable the following line:
# RewriteBase /
</IfModule>
<IfModule mod_headers.c>
# Blocks Search Engine Indexing
Header set X-Robots-Tag "noindex, nofollow"
</IfModule>