I\'m writing a CMS in PHP, and now I\'m working at the themes feature. I have a .htaccess file:
RewriteEngine ON RewriteRule ^([a-zA-Z][a-zA-Z0-9]*)$ index.p
Add this before your rewrite rules:
RewriteCond %{REQUEST_URI} !^/THEMES/