Forum Moderators: phranque
I am using this code to redirect www.example.com/index.php to /
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php\ HTTP/
RewriteRule ^(.*)index\.php$ http://www.example.com/$1 [R=301,L]
Now I want to set an exception to this redirection rule so that URLs such as www.example.com/admin/index.php are not redirected to www.example.com/admin/
This rule is creating problems for Admin login for the site which is made by a CMS.
Let me know how to set exceptions to this rule.
Thanks a lot in advance!