How to remove index.php from your Magento site URL

How to remove index.php from your Magento site URL

Overview

This article shows you how to remove “index.php” from your web address of your Magento store. This method works only if mod_rewrite is enabled; however, if you are a Nexcess client, this is enabled by default.

Method

  1. From the Admin Panel, select System > Configuration.


  2. From the Configuration menu, in the General section, click Web.


  3. In the Search Engines Optimization section, from the Use Web Server Rewrites drop-down menu, click Yes.


  4. In the Secure section, from the Use Secure URLs in Frontend drop-down list, click Yes. Though this step is not strictly necessary, it will make your site more secure.


  5. Click Save Config.

  6. Flush your Magento cache using the directions provided in How to flush your Magento cache

  7. Check your website, which should now lack “index.php” in the URL. If it is still present, repeat the procedure, or contact our Support Team as directed below.


For 24-hour assistance any day of the year, contact our Support Team by email or through the Client Portal.

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
How to set the return path email in Magento 1.x
Added on Thu, Oct 30, 2014
How to disable maintenance mode in Magento
Added on Tue, Jan 29, 2019
What is Magento?
Added on Tue, Jan 29, 2019
How to install Magento CE v1.8 and later
Added on Thu, Mar 6, 2014
How to protect your Magento store from the Credit Card Hijack exploit
Added on Tue, Jan 29, 2019
How to set Magento file permissions
Added on Tue, Jan 29, 2019
How to manage disk space in Magento
Added on Tue, Jan 15, 2019
How to flush your Magento cache
Added on Tue, Jan 29, 2019
How to set up outgoing SMTP email for Magento
Added on Thu, Jul 5, 2018
How to enable the Magento profiler
Added on Tue, Jan 29, 2019