title: How to rewrite url with apache htaccess
body: <p>I have a website:</p>
  
  <p><code>http://www.test.com/?city=beijing&amp;category=1</code></p>
  
  <p><code>http://www.test.com/?city=beijing&amp;category=1&amp;start=36</code></p>
  
  <p><code>http://www.test.com/?city=beijing&amp;category=1&amp;start=72</code></p>
  
  <p><code>http://www.test.com/?city=beijing&amp;category=2</code></p>
  
  <p><code>http://www.test.com/?city=beijing&amp;category=1&amp;start=36</code></p>
  
  <p><code>http://www.test.com/?city=beijing&amp;category=1&amp;start=72</code></p>
  
  <p><code>http://www.test.com/?city=beijing&amp;category=1&amp;keyword=test</code></p>
  
  <p><code>http://www.test.com/?city=beijing&amp;keyword=test&amp;start=36</code></p>
  
  <p><code>http://www.test.com/?city=beijing&amp;keyword=test&amp;start=72</code></p>
  
  <p><code>http://www.test.com/?city=beijing</code></p>
  
  <p><code>http://www.test.com/?city=beijing&amp;start=36</code></p>
  
  <p><code>http://www.test.com/?city=beijing&amp;start=72</code></p>
  
  <p>if i want to rewrite it as
  <code>http://www.test.com/beiing/1/36</code></p>
  
  <p>can any one tell me the code for this to write in .htaccess file.?</p>