Hi,
I am currently trying to set up our .htaccess so that when a domain is entered into the address bar (eg. www.example.org) it would go to a folder (eg. www.example.org/folder).
The problem i am having with what i have at the moment is i think looping, so hence not working. I was thinking something along these lines:
RewriteCond %{HTTP_HOST} ^www\.example\.org$
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^index\.php$ http://www.example.org/folder [L]
or:
RewriteCond %{HTTP_HOST} ^www\.example\.org$
RewriteRule ^index\.php$ http://www.example.org/folder [L]
i'm searching for possible options, so if anyone could shed some light it would be appreciated.
Thanks.
Andy