Contact
Site: US UK AU |

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 (2 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 Turpentine?
Added on Thu, Aug 28, 2014
How to set up outgoing SMTP email for Magento
Added on Thu, Jul 5, 2018
What are some useful Magento scripts?
Added on Mon, Oct 13, 2014
How to protect your Magento store from the Credit Card Hijack exploit
Added on Tue, Nov 22, 2016
How to add admin users in Magento 1.x
Added on Wed, Dec 7, 2016
How to change Magento base URLs
Added on Tue, Jun 12, 2018
What is the “Client denied by server configuration app/etc/local.xml” error?
Added on Thu, Sep 10, 2015
How to enable system error logging in Magento 1
Added on Wed, Sep 19, 2018
How to install Magento CE v1.8 and later
Added on Thu, Mar 6, 2014
How to back up your Magento 1 store
Added on Thu, Oct 18, 2018