Magento - Remove index.php from URL

To remove the index.php from your URL, Follow the below steps it will helps you.

  1. Goto to your site root folder and you can find the .htaccess file there.Open it on text editor and find the line #Rewrite Base /magento. Just replace it with Rewrite Base /
  2. Then goto your admin panel and enable the Rewrites(set yes for Use Web Server Rewrites). You can find it at System->Configuration->Web->Search Engine Optimization.
  3. Then go to Cache management page (system cache management ) and refresh your cache and refresh to check the site.
If you are working in localhost , then replace the #Rewrite Base /magento. Just replace it with Rewrite Base /{your folder name}

1 comment:

  1. The information written in the article is descriptive and well written.It is also simple to read and understand.Good Read.
    Hire Magento Developers

    ReplyDelete