.htaccess 去掉index.php

<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?s=$1 [QSA,PT,L]
</IfModule>

还需要开启rewrite模块,具体什么名 不记得了;

posted on 2017-11-07 14:22  summerkxy  阅读(880)  评论(0编辑  收藏  举报

导航