How to remove index.php from URLs?

后端 未结 8 999
我寻月下人不归
我寻月下人不归 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:01

    Follow the below steps it will helps you.

    step 1: Go to to your site root folder and you can find the .htaccess file there. Open it with a text editor and find the line #RewriteBase /magento/. Just replace it with #RewriteBase / take out just the 'magento/'

    step 2: Then go to 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.

    step 3: Then go to Cache management page (system cache management ) and refresh your cache and refresh to check the site.

提交回复
热议问题