Passing variables to a well format URL
<p>My .htaccess is something like this</p>

<pre><code>RewriteRule ^search/([A-Za-z0-9-]+)$  search.php?keyword=$1 [L]
</code></pre>

<p>and it correctly displays results for <code>example.org/search/tomato</code></p>

<p>but now i'd like to pass variables to it, but when i do it like   </p>

<p><code>example.org/search/tomato?color=green</code></p>

<p>it doesn't work.</p>

<p>what's the common practice to solve this problem?</p>