Forum Moderators: phranque
http://somewhere/writing/index.html
to:
http://overhere/blogs/
I used this in my .htaccess file in the writing directory
RewriteRule ^index.*$ http://overhere/blogs/ [R=301,L] which works fine unless someone just visits:
http://somewhere/writing/
which takes them to the default 'index.html' page
Can anyone help?
I tried doing the same thing, by putting your code in an .htaccess file in a direcetory, but then I only get a 403 Forbidden error saying I don't have permission to view the files.
Any ideas?
I put the .htaccess file in a folder [mysite.com...]
Addendum: Duh, I forgot to turn rewriteengin On!