title: PHP code to alter or change URL
body: <p>Does anyone know how I can change th architecture of my site url? I use Apache server and php 5.3 I have a site that outputs url as shown below</p>
  
  <pre class="lang-none prettyprint-override"><code>http://localhost/index.php?articleId=23
  </code></pre>
  
  <p>I want it to be outputting the url like </p>
  
  <pre class="lang-none prettyprint-override"><code>http://localhost/articles/hot-news-of-the-day
  </code></pre>
  
  <p>please give me a url to refer to for tutorials, pdf or even a sample code. U can also give me a sample code. Anything. Please!!!</p>