Skip to content
Snippets Groups Projects
Commit 3bdaa22f authored by Alex Arnaud's avatar Alex Arnaud
Browse files

hotline#23216 - Add redirect exeption for robots.txt file

parent f68acb9f
Branches
Tags
7 merge requests!896Master,!811Stable,!800Master,!798Hotline master,!797Stable,!796Stable,!793Hotline#23216 update htaccess file for robots
RewriteEngine on
RewriteCond %{REQUEST_URI} !/(xhprof_html|ckeditor)
RewriteCond %{REQUEST_FILENAME} !^.*/robots\.txt$ [NC]
RewriteRule !(userfiles|public|tmp|temp|skins)/.*\.(js|ico|txt|gif|jpg|jpeg|png|css|xml|swf|mov|pdf|doc|docx|woff|eot|svg|ttf|xls|wsdl|mp3|m4v|ogg|ogv|epub|html|xhtml|asmx|zip|sql)$ index.php [NC,NE]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment