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
f u c k ,这么写实对的。刚刚测试好用了!!!
页:
[1]