title: htaccess 301 for non friendly urls
body: <p>How do I redirect non friendly urls to X?
  Found this:</p>
  
  <pre><code>Redirect 301 /oldpage.html http://www.yourdomain.com/newpage.html
  </code></pre>
  
  <p>But this code only apply to friendly urls or specific files.</p>
  
  <p>I need to do something like:</p>
  
  <pre><code>www.example.com/?option=com_content&amp;view=article&amp;id=66&amp;Itemid=109
  </code></pre>
  
  <p>to</p>
  
  <pre><code>www.example.com/index.php
  </code></pre>
  
  <p>Any ideas?</p>