Forum Moderators: phranque
redirect 301 / [elsewhere.com...]
However, I would like to let people visit sudirectories of my site, such as:
[domain.com...]
[domain.com...]
[domain.com...]
Unfortunately, as is now, they all get redirected to:
[eleswhere.com...]
[eleswhere.com...]
[eleswhere.com...]
I tried playing around with my .htaccess code, to something like this:
redirect 301 /index.html [elsewhere.com...]
But it doesn't work.
Any ideas?
I know I can create an index file that will redirect the user, but I really wanted to do it correctly, and in the .htaccess file.
RedirectMatch allows you to specify an exact match, using regular expressions.
Jim