Magento: How to remove index.php from URL?
In your Magento shop URL, if you see “index.php” and wanted to remove it then here is the solution.
– First of all, apache module ‘mod_rewrite‘ should be enabled. Check apache’s 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
– Save
And, you are done. Now, index.php is gone from your Magento shop URL.
Hope this helps. Thanks.





Mukesh Chapagain is a graduate of Kathmandu University (Dhulikhel, Nepal) from where he holds a Masters degree in Computer Engineering. Mukesh is a passionate web developer who has keen interest in open source technologies, programming & blogging.