Hi All, I have this following rewrite rule: RewriteCond %{QUERY_STRING} ^((.+)&)?SID=[\w]*$ [NC] RewriteRule ^(.*)$ /$1?%2 [R=301,L,NE] I want to add a condition that when the URL contain the following: ...index.php/admin... then the rule will not be applied. Thanks in advance