2010-05-03 31 views
0

所以,不幸的是我使用vBulletin與Kohana,我的整合越來越複雜鎖定vBulletin。做一些重寫,這尤其是:.htaccess查詢字符串與靜態頁面

 
RewriteCond %{QUERY_STRING} ^do=(editprofile|editoptions)$ 
RewriteRule ^forum/profile.php$ /user_profile/edit/ [R=301,L] 

回來了/user_profile/edit/?do=editprofile

,我需要/user_profile/edit/

+0

看起來像QSA標誌是自動添加... Ps。重定向時使用http:// style url。 – Fabian 2010-05-03 13:57:45

回答

1

附加一個?清除查詢字符串。

 
RewriteCond %{QUERY_STRING} ^do=(editprofile|editoptions)$ 
RewriteRule ^forum/profile.php$ /user_profile/edit/? [R=301,L]