How remove index.php form url in Magento

0
2

If you want to remove index.php form url in Magento like as:

http:// domain.com/index.php/electronics.html
To
http:// domain.com/electronics.html

Then follows these steps:

  • Login to admin panel by using this URL
  • http://domain.com/index.php/admin

  • Then go to “System >> Configuration >>Web >> Search Engines Optimization”
  • Use Web Server Rewrites : YES

  • Go to “System >> Configuration >>Web >>Secure”
  • Use secure URL Frontend: YES
    How to  remove index.php from url in Magento

  • After that create the .htaccess file in your Magento installed folder.

Magento installed under document root (/public_html) then add following rules into .htaccess file

and If the Magento installed under /public_html/store then add the following rules into ” /public_html/store/.htaccess ” file.

LEAVE A REPLY

Please enter your comment!
Please enter your name here