How to remove index.php from URLs?

后端 未结 8 1025
我寻月下人不归
我寻月下人不归 2020-11-27 12:02

All of my URLs on my Magento installation require index.php in them, like:

http://example.com/index.php/admin/
http://example.com/index.php/customer/account/         


        
8条回答
  •  甜味超标
    2020-11-27 13:00

    I tried everything on the post but nothing had worked. I then changed the .htaccess snippet that ErJab put up to read:

    RewriteRule ^(.*)$ 'folder_name'/index.php/$1 [L]
    

    The above line fixed it for me. where *folder_name* is the magento root folder.

    Hope this helps!

提交回复
热议问题