雖然我們在 .htaccess 中指定了
RewriteEngine on
RewriteCond $1 !^(index.php|images|robots.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
可是使用 redirect 轉向之後,卻在網址中跑出來 index.php
雖然我們在 .htaccess 中指定了
RewriteEngine on
RewriteCond $1 !^(index.php|images|robots.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]