Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # GESTION DIRECTIVAS x-robots-tags
- RewriteCond %{QUERY_STRING} ^.*O=.* [OR]
- RewriteCond %{QUERY_STRING} ^.*map=.* [OR]
- RewriteCond %{QUERY_STRING} ^.*PS=.* [OR]
- RewriteCond %{QUERY_STRING} ^.*idsku=.* [OR]
- RewriteCond %{REQUEST_URI} ^/sin\sruedas$ [OR]
- RewriteCond %{REQUEST_URI} ^/escolar(/sin\sruedas)?$ [OR]
- RewriteCond %{REQUEST_URI} ^/deporte$ [OR]
- RewriteCond %{REQUEST_URI} ^/estuches$ [OR]
- RewriteCond %{REQUEST_URI} ^/juvenil$ [OR]
- RewriteCond %{REQUEST_URI} ^/moda$ [OR]
- RewriteCond %{REQUEST_URI} ^/para-portatil/estudio$ [OR]
- RewriteCond %{REQUEST_URI} ^/viaje$ [OR]
- RewriteCond %{REQUEST_URI} ^/ni%C3%B1o$
- RewriteRule .* - [ENV=NOINDEXFOLLOWPAGES:true]
- RewriteCond %{REQUEST_URI} ^.*/buscavazia$
- RewriteCond %{QUERY_STRING} ^.*ft=.*
- RewriteRule .* - [ENV=NOINDEXFOLLOWPAGES:true]
- Header set X-Robots-Tag "noindex,follow" env=NOINDEXFOLLOWPAGES
- <IfModule mod_rewrite.c>
- <IfModule mod_negotiation.c>
- Options -MultiViews -Indexes
- </IfModule>
- RewriteEngine On
- # Redirect Trailing Slashes If Not A Folder...
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_URI} (.+)/$
- RewriteRule ^ %1 [L,R=301]
- # Handle Front Controller...
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^ index.php [L]
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement