Finally, I tried using Webnauts
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.html?\ HTTP/
RewriteRule ^(.*)index\.html?$ http://www.yoursite.com/$1 [R=301,L]
And it works fine! So now I have no problem of getting it displays as:
www.mydomain.com
for index.php or index.html
Thanks Webnauts!
Submit Your Article
Forum Rules


