0
如果任何喜歡進來格式添加別名
http://localhost/index.php/bla...
我想將其轉換爲http://localhost/er/index.php/bla...
我嘗試以下,但它似乎是在循環網址無限期
RewriteRule ^localhost/index/php/(.*)$ localhost/er/index.php/$1 [R=301,L]
RedirectMatch 301 ^/localhost/index.php/(.*)$ localhost/er/index.php/$1
非常感謝你! – user391986 2012-08-10 17:36:18