title: How do I do URL rewriting in php?
body: <p>This is a double question: The correct answer will go to "How you do it in PHP" explaining if there is any advantage goes also counts if possible.</p>
  
  <p>I'm just curious because I really don't know and I see it a lot in webpages.</p>
  
  <p>Edit: I don't know the technical name, but for example here on Stackoverflow:
  "<code>http://stackoverflow.com/posts/edit/522452</code>" is what I mean as <em>"folders"</em> (a term previously used in the title of the question).</p>