Hi,

I have a request that the site contains specific URI pattern should go to
another URL while the other URI patterns goes to 404 page of external site.

Here below the rule I have written, however this is not working for wildcard
match of the URI pattern.

RewriteCond %{REQUEST_URI}
!^/(files(.*)|admin(.*)|user(.*)|product(.*)|go(.*))$
RewriteRule .* http://www.abc.com/page-not-found [R=301,NC,L]


Please advice.

Arun J

Reply via email to