wkx198742 发表于 2013-12-18 10:13:09

CI 301 重定向 还是带有index.php 的问题

CI 在做301重定向时,还是带有index.php。是我书写错误吗?
RewriteEngine on
RewriteCond %{HTTP_HOST} ^ss.com
RewriteRule ^(.*) http://www.ss.com
RewriteCond $1 !^(index\.php|js|img|public|icon|phpmyadmin|robots\.txt)   
RewriteRule ^(.*)$ index.php/$1

wkx198742 发表于 2013-12-18 10:57:23

f u c k ,这么写实对的。刚刚测试好用了!!!
页: [1]
查看完整版本: CI 301 重定向 还是带有index.php 的问题