2010-08-11
去掉magento网址后面的index.php
很多朋友的magento网店网址后面总是跟着一个index.php ,令人厌烦
例如:http://yourdomain/index.php/apparel/shoes.html
那么怎样去掉这讨厌的index.php呢?(前提是你的服务器支持.httaccess 重写)
其实很简单,首先登陆magento后台,系统(System) => 配置(Configuration) => 网站(Web)=> 搜索引擎优化(Search Engines Optimization)
=> 服务器重写(Use Web Server Rewrites) ,然后选择” yes” 即可(记得刷新magento缓存)。
如下图:
其实,只要你在安装magento的时候勾上”Use Web Server (Apache) Rewrites” 这一项就不会出现这种情况。

转载注明:转自Topmagento.com|Magento技术交流站
本站遵循:署名-非商业性使用-禁止演绎 3.0 共享协议
收藏分享:
QQ书签 /
百度收藏 /
Google书签 /
收藏到鲜果 /
Digg /
Del.icio.us

