Hi guys... Ive read the FAQ, but am still not convinced if what im trying to do is possible. I need all links that go to http://www.domain.com/area1 AND ALL THE FILES in that directory/any subdirectory ie /area1/file.htm and area1/file2/file.htm to be automatically rediected to http://www.domain.com/area2 is this possible? Cheers, Paul
In your .htaccess file in your web root (create one if it doesn't exist): RedirectMatch 301 ^area1 http://www.domain.com/area2 Code (markup): Or with mod_rewrite: Option +FollowSymLinks RewriteEngine On RewriteRule ^area1 /area2 [R=301,L] Code (markup):
You're welcome And it becomes very easy after some hours of working with and especially debugging .htaccess files with 500 errors being nearly the only feedback!