Wordpress querystring to friendly rewrite rule
<p>I have the following URLs:</p>

<pre><code>/products/?term_id=3
/products/?term_id=3&amp;post_id=66
</code></pre>

<p>What I would like to get is the following:</p>

<pre><code>/products/termid-termtitle
/products/termid-termtitle/postid-posttitle
</code></pre>

<p>Rewritten as the original URLs.</p>

<p>I've tried a few ones I have found elsewhere but to no avail.</p>