2010-05-03 6 views
0

그래서 불행히도 나는 Kohana와 함께 vBulletin을 사용하고 있으며, 통합이 약간 복잡해지면서 vBulletin을 잠그고 있습니다. 특히 일부 재 작성, 이렇게 :정적 페이지가있는 .htaccess 쿼리 문자열

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

것은 다시 내가 /user_profile/edit/

+0

QSA 플래그가 자동으로 추가 된 것처럼 보입니다. 리디렉션 할 때 http : // style url을 사용하십시오. – Fabian

답변

1

쿼리 문자열을 취소 할 ?을 추가해야합니다 /user_profile/edit/?do=editprofile

와 함께 제공됩니다.

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