title: URL Rewrite querystring in htaccess
body: <p>I've spent a couple of hours trying to achieve something I thought was easy.
  I have <code>domain.tld/index.php?site=Page</code> and want to turn it <code>domain.tld/Page</code>. The <code>?site=Page</code> is relative to what it gets from the MySQL database.</p>
  
  <p>At some point I had it make an endless loop, but everything else didn't effect anything.
  It might have something to do with, that I don't understand the ^ in RewriteRule and Cond.
  But the structure is <code>/var/www/whine/skovtrup</code> -- <code>whine</code> is the domain and <code>skovtrup</code> is a folder where I work with the website I need rewrite on.
  <code>&lt;Directory&gt;</code> is set to <code>/var/www/whine</code> in the sites-enabled file.</p>
  
  <p>I really hope you guys can help me.</p>
  
  <p>Just to sum up:</p>
  
  <ul>
  <li>Replace ?site=Page with /Page/</li>
  <li>Page is relative.</li>
  <li>Placed in /var/www/whine/skovtrup</li>
  </ul>