I have this:
RewriteEngine On
RewriteRule ^(.*)/(.*).php index.php?cat=$1&id=$2
This works fine, except when I actually have an admin folder and any file within that folder wont show up. Is there a way for htaccess to ignore the rule when there is a folder named "admin"?