Forum Moderators: phranque
example.com/index.php to example.com
Options +FollowSymLinks
RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteRule ^(.*)index.php$ [domain.com...] [R=301,L]
but this ,code also forward ,my login url ,and this cause problem to me to enter my website's admin
the url of admin is :
example.com/administrator/index.php
how i can ,define a code in .htaccess ,that it forward all the index.php url to root except /administrator/ directory.