title: Clean URLs with PHP
body: <p>So I am trying to build a clean url system in PHP to change URLS like this <code>http://example.com/index.php?projects=05</code> to: <code>http://example.com/projects/05</code> </p>
  
  <p>So far, I have figured out how to use <code>parse_url</code> to map urls that look like <code>http://example.com/index.php/projects/05</code> but I can't figure out how to remove the 'index.php' from the URL. Is there a way to use .htaccess to remove <code>index.php</code> from the url string? </p>
  
  <p>I know this is sort of a simple problem but after extensive googling, I can't find a solution. </p>