HELP! Rewrites don't work:-(((

Please help. I’m trying to redirect everything except admin folder to another site but it redirects the admin as well.Please help!

RewriteCond %{REQUEST_URI} !^(/admin)
RewriteRule .? http://www.bbb.co.uk [R,L]

tat,

Apache 2.x will NOT match the / after ^.

Optimize your code as:

RewriteEngine on
RewriteRule !^admin http://www.bbb.co.uk [R=301,L]

Regards,

DK