Magento provides very good url rewrite method, some times we wants to remove the index.php from the url
Suppose your url is http://www.store.com/index.php/contacts and you wanted to remove index.php from this then here is the solution.

 

- First of all, apache module “mod_rewrite” should be enabled. Check apache httpd.conf file.
- Then login to Magento admin panel
- Go to System -> Configuration -> Web -> Search Engines Optimization -> Use Web Server Rewrites
- Select “Yes” from the selection list and Save.

 

And, you are done. Now, index.php is gone from your Magento shop URL.