title: Rewriting dynamic URLs using URL parameters through htaccess
body: <p>I'm trying to rewrite this url / query using .htaccess</p>
  
  <pre><code>/immobiliensuche/?adv_location=Pforzheim&amp;filter_search_type%5B%5D=wohnung&amp;filter_search_action%5B%5D=mieten&amp;is2=1&amp;submit=Suchen&amp;wpestate_regular_search_nonce=85c48a652f&amp;_wp_http_referer=%2F
  </code></pre>
  
  <p>to</p>
  
  <pre><code>/immobiliensuche/pforzheim/wohnung/mieten
  </code></pre>
  
  <p>---> "<strong>pforzheim</strong>", "<strong>wohnung</strong>" and "<strong>mieten</strong>" are variables in search fields.</p>
  
  <p>I tried different variations but they don't seem to work. Does someone has an idea ?</p>