title: Rewriting URL with .htaccess local in XAMPP
body: <p>My .htacces begins with</p>
  
  <pre><code>   RewriteEngine on
     RewriteBase /
  </code></pre>
  
  <p>(I tried it also without RewriteBase...)</p>
  
  <p>I tried all of the following rewriting rules to rewrite the URL</p>
  
  <p><strong>index.php?page=news</strong></p>
  
  <p>to</p>
  
  <p><strong>/blog</strong></p>
  
  <ul>
  <li>RewriteRule ^/?([-A-Za-z0-9]+)/([-A-Za-z0-9]+)/blog$
  index.php?page=$1 [L]  </li>
  <li>RewriteRule ^([^/]*)/blog$ /sites/blog/index.php?page=$1 [L]</li>
  <li>RewriteRule ([a-zA-z]+)/([a-zA-z]+)/blog$ index.php?page=$1 [L]</li>
  </ul>
  
  <p>Nothing works - no error. Mod_rewrite is installed and working. I restarted Apache and MySQL everytime I changed something in my .htaccess.</p>
  
  <p>I also want to change my URLs which looks like this... <strong>index.php?page=single_news&amp;category=release&amp;id=9&amp;headline=Beastie%20Boys%20III</strong></p>
  
  <p>...into: <strong>blog/release/9-Beastie-Boys-III</strong></p>
  
  <p>I am lost. Hope you can help me.</p>