Hello, I have the following .htaccess:
RewriteEngine on
RewriteCond $1 !^(index\.php|cgi-bin|assets|blog|sitemap\.xml|export)
RewriteRule ^(.*)$ index.php/$1? [L]
I want to know how to exclude a sub-directory (e.g. “blog/images”) in the url rewriting (RewriteCond line). In the .htaccess I can only exclude a directory, if I want to exclude a subdirectory (a directory within a directory) I can’t do it.
Any help would be appreciated.
Thanks,
