title: Convert URL to SEO Friendly
body: <p>I have a few questions.
  In my website, I have, for example, a link like this:</p>
  
  <blockquote>
    <p>localhost/ecom/index.php?pages=1&amp;title=quem-somos</p>
  </blockquote>
  
  <p>The index file checks the <code>GET['pages']</code> for the id, and assign two variables based on info from the db: <code>$static_id</code>, and <code>$static_title</code>.</p>
  
  <p>How do I configure the .htaccess to "convert" this link to this:</p>
  
  <blockquote>
    <p>localhost/ecom/quem-somos</p>
  </blockquote>
  
  <p>And when the .htaccess is written, my href should be like this:</p>
  
  <blockquote>
    <p>localhost/ecom/quem-somos</p>
  </blockquote>
  
  <p>or, should be like this:</p>
  
  <blockquote>
    <p>localhost/ecom/index.php?pages=1&amp;title=quem-somos</p>
  </blockquote>
  
  <p>and the url is converted to the SEO friendly one?</p>
  
  <p>Sorry if there's some stupid questions here, I've read a few blog posts but still can't figure it out.</p>