Normally we find index.php in URL, and mostly we don’t like it to be there. This post will allow you to change your URL from
go to Admin > System > Configuration > Web > Search Engine Optimization,
change the value of Web Server Rewrites to Yes.
Make sure, your web server rewrite module is enabled and Check the file permission of .htaccess, it should be present in Magento root directory and readable by server.