后台System > Web > Search Engines optimization > use web server rewrte => yes
如果修改后,链接已经生成不带index.php 但链接依然无法访问,请检查根目录下面的.htaccess文件是否有可写权限!
如果文件内无内容,请复制以下内容进去
############################################
## you can put here your magento root folder
## path relative to web root
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/media/
RewriteCond %{REQUEST_URI} !^/skin/
RewriteCond %{REQUEST_URI} !^/js/
RewriteCond %{REQUEST_URI} !^/var/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule . index.php [L]
################ End ###############################
去掉网站的index.php
2013年1月25日星期五 Asia/Shanghai下午5:40:41
Posted By