Forum Moderators: phranque
Now I want to have .htaccess redirect (301) all requests for /index.html's and /index.php's to the / of the folder. (Just a trailing slash)
For example:
requests for http://www.example.com/index.html
go to http://www.example.com/
and requests for http://www.example.com/folder/index.php
go to http://www.example.com/folder/
Anyone?
Thanks :)
[edited by: jdMorgan at 3:45 am (utc) on Dec. 5, 2005]
[edit reason] example.com [/edit]
BTW, I stand by the original code I posted as being the correct solution, although the thread owner states that he changed it (for an unspecified reason).
Jim