Forum Moderators: phranque
RewriteEngine On
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php\ HTTP/
RewriteRule ^(.*)index\.php /$1 [R=301,L]
It works fine in the front-end but causes problems in the back-end (admin area):
[domian.com...]
is being redirected to [domian.com...]
how can I modify the rule to avoid the administrator directory from being affected?