Forum Moderators: phranque
I have some rewrite rules like:
RewriteRule ^([^/]+)/([^/]+)\.html?$ /index\.php?section=$1&ark=$2
RewriteRule ^([^/]+)/([^/]+)/$ /index\.php?section=$1&ark=$2
RewriteRule ^([^/][^missing]+)\.html?$ /index\.php?section=$1
RewriteRule ^([^/]+)/$ /index\.php?section=$1
This works great, except when I try to access my stats page located at domain.com/stats/ the rewriterule thinks its a domain.com/index.php?section=stats and then fails to load.
Is it possible to exclude a directory from the rewrite rules?
thanks
David