tags:

views:

38

answers:

1

So, unfortunately I'm using vBulletin with Kohana and my integration is getting a bit complicated locking vBulletin out. Doing some rewrites, this in particular:

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

Comes back with /user_profile/edit/?do=editprofile

where I need /user_profile/edit/

+1  A: 

Append a ? to clear the query string.

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