index.php issue

Permalink
After installation and setting up site, I noticed thathttp://www.mysite.com/index.php does not redirect to root, because there is a file called index.php. Is there a way to make this redirect work without hampering login?

Thank you for your help.

 
RabinK007 replied on at Permalink Reply
After many a times looking around, finally found a work around:

Adding the following in .htaccess file

# force removal of index.php
RewriteEngine On
RewriteCond %{THE_REQUEST} ^.*\/index\.php\ HTTP/
RewriteRule ^(.*)index\.php$ /$1 [R=301,L]