Forum Moderators: phranque
I have the following redirect setup in my htaccess file:
Redirect permanent /sightseeing/ http://www.example.com/sightseeing.aspx
It works well when wanting to redirect the home page of sightseeing over to the new website. However this code is redirecting all pages within the sightseeing directory. I know an option would be to specify /sightseeing/index.html, BUT lets just say that is a last case option. Is there anything else I can add to only redirect the specified folder's home page (i.e.: some kind of stop character)?
[edited by: jdMorgan at 6:10 pm (utc) on June 28, 2006]
[edit reason] example.com [/edit]
RedirectMatch permanent ^/sightseeing/?$ http://www.example.com/sightseeing.aspx
For more information, see the documents cited in our forum charter [webmasterworld.com].
Jim