官方能把这个去掉吗/index.php/ 比如:http://localhost/index.php/cms/show-17.html
/index.php/有点不好看
首页你的服务器得支持伪静态
之后在设置后台
.htaccess 文件的伪静态规则
<IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f # RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1] </IfModule>
iis的自己在论坛找吧