can I pass variables through URL while using htaccess RewriteRule?

.htaccess, mod-rewrite, php

Solution

Yes it is, you simply add [QSA] After the rewrite condition

RewriteRule ^browse/([a-zA-Z-]+)/?$ browse/index.php?brand=$1 [QSA]

http://wiki.apache.org/httpd/RewriteFlags/QSA

Problem

I was wondering if it is possible to pass another variable through URL while already passing a variable using .htacces? for example, ``` RewriteRule ^browse/([a-zA-Z-]+)/?$ browse/index.php?brand=$1 ``` lets say, `website.com/browse/index.php?brand=louis-vuitton` was rewritten into `website.com/browse/louis-vuitton` is it possible for me to use another variable like this: ``` website.com/browse/louis-vuitton/?sort=name ```

Original source