title: creating search engine friendly urls with PHP
body: <p>I am not very familiar with reg exp, mod_rewrite and modifying of .htaccess. I want to create Search engine optimized links such that a visitor does not have to </p>
  
  <ol>
  <li>see the file type i.e company.php becomes company</li>
  <li>See the complete query string</li>
  </ol>
  
  <p>What I currently have is :
  <a href="http://www.mysite.com/company.php?company_id=74&amp;name=DesignSourceLtd" rel="nofollow">http://www.mysite.com/company.php?company_id=74&amp;name=DesignSourceLtd</a></p>
  
  <p>What I want to look like is
  <a href="http://www.mysite.com/company/74/DesignSourceLtd" rel="nofollow">http://www.mysite.com/company/74/DesignSourceLtd</a></p>