Hi all, I need to redirect all traffic from oldsite.com - including (almost) all subdirectories - to newsite.com, but with a small number of exceptions. I've added the script below to the root .htaccess file: Options -Multiviews RewriteEngine on RewriteCond %{REQUEST_URI} !^/story [NC,OR] RewriteCond %{REQUEST_URI} !^/professions [NC,OR] RewriteCond %{REQUEST_URI} !^/offer [NC,OR] RewriteCond %{REQUEST_URI} !^/offer3 [NC,OR] RewriteCond %{REQUEST_URI} !^/faq [NC] RewriteRule ^(.*)$ http://newsite.com/ [R=301,L] On the whole this works, but only the /story exception works correctly. All the other listed exceptions redirect to newsite.com. Can anyone advise what I'm doing wrong? Many thanks, Ian
Many thanks for this - but doesn't adding the $1 mean that any subdomains specified in the original request will be carried over, so that oldsite.com/otherpage will try to go to newsite.com/otherpage? My original post may not have been particularly clear - aside from the exceptions, I want all traffic to go to the home page of newsite.com (effectively newsite.com/index.html), as the structures of the two sites are completely different.