Hi there,
I'm hoping that someone may be able to help me.
I believe my htaccess file is restricting access to my robots.txt file and would like to add an exception to the htaccess to enable search engines to find the file.
Does anyone have any thoughts on how to achieve this?
The code in my current htaccess file is:
Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteRule ^index$ http://mydomain.com/ [R=301,L]
RewriteRule ^page/faqs faqs/ [L]
RewriteRule ^page/(.*) static_pages/$1 [L]
RewriteRule ^$ app/webroot/Index [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
Thanks