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
What is Varnish?
Added on Thu, Aug 28, 2014
How to enable system error logging in Magento 1
Added on Wed, Sep 19, 2018
How to issue a reindex in Magento
Added on Wed, Jan 30, 2019
How to perform Magento database maintenance
Added on Wed, Jan 30, 2019
What are some useful Magento scripts?
Added on Wed, Jan 30, 2019
How to create dev sites for Magento 1
Added on Wed, Jan 2, 2019
How to back up your Magento 1 store
Added on Thu, Oct 18, 2018
How to add admin users in Magento 1.x
Added on Tue, Jan 29, 2019
How to change your Magento 1.x admin password
Added on Tue, Jan 29, 2019
How to configure CDN access for Magento
Added on Wed, May 16, 2018