magento 去掉index.php .html

首先应该确保你的服务器环境,达到了magento的运行需求,若你是使用的是magento专用空间就不必担心了,若不是请查看我以前的文章,检测你的运行环境(http://www.hellokeykey.com/magento-system-requirements/)

1.在 system—>configuration中确保下图的设置为 Yes

hellokeykey.com

2.在 system—>configuration中确保下图的设置,绿色部分为空,则 .html就从网址中去掉了

hellokeykey.com

3.在在 system—>cache management 中刷新缓存,还有cache management中的catalog中的缓存也都refresh, clear, rebulid下

4.去前台刷新下页面,it's done

原文地址:https://www.cnblogs.com/focai/p/4459628.html