• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 My site has domain.com/index.php. I want domain.com only.

#1
My site has domain.com/index.php. I want domain.com only, since the URL is too long.
May be this is out of boundary question of xenforo, still I expect some reply from experts.
I searched in google and got many information to change it in .htaccess file, I tried in many ways, but did not work unfortunately.

If I type, mysite.com, it is redirecting to mysite.com/index.php. I want permanent 301 redirect from mysite.com/index.php to mysite.com. How to do?
Hope, I explained my question clearly.
Please do some favor.
Thank you.