I am using Expression Engine and have a rule in my htaccess to rewrite urls so that the index.php portion of the url is removed. However this then stops the admin area working for some reason which uses admin.php to route everything through. This is the contents of my htaccess:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
Does anyone know how to prevent this rules being applied to admin.php?
The RewriteCond line specifies the filter.
See RewriteCond (I won’t pretend it’s simple…)