Commit 3bdaa22f authored by Alex Arnaud's avatar Alex Arnaud

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

parent f68acb9f
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]
Markdown is supported
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