RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] RewriteRule ^(.*)\.html$ index.php?g=portal&m=index&a=$1
http://www.test.com/index.php?g=portal&m=index&a=indexhttp://www.test.com/index.php?g=portal&m=index&a=serviceshttp://www.test.com/index.php?g=portal&m=index&a=partner ...... 转化成http://www.test.com/index.htmlhttp://www.test.com/services.htmlhttp://www.test.com/partner.html ....
首页的时候导航显示已经实现伪静态 可是一跳到其他的页面,比如services partner 又变成了http://www.test.com/index.php?g=portal&m=index&a=partner 不明白?