title: URL Masking - making filenames into folders?
body: <p>I'm not very technical with any code other than HTML so bear with me! This has me stumped so I'd really appreciate help with this.</p>
  
  <p>I've got a simple site with file names like <code>index.php</code>, <code>portfolio.php</code>, <code>portfolio-001.php</code>, <code>about.php</code> etc. When people are browsing my site, they see:</p>
  
  <ul>
  <li><code>"mysite.com/index.php"</code></li>
  <li><code>"mysite.com/portfolio.php"</code></li>
  <li><code>"mysite.com/portfolio-001.php"</code></li>
  <li><code>"mysite.com/about.php"</code></li>
  </ul>
  
  <p>in the browser's address bar.</p>
  
  <p>My question is, how can I rewrite/mask the URL so that while they are visiting the pages, they will see:</p>
  
  <ul>
  <li><code>"mysite.com/"</code></li>
  <li><code>"mysite.com/portfolio/"</code></li>
  <li><code>"mysite.com/portfolio/001"</code></li>
  <li><code>"mysite.com/about/"</code> </li>
  </ul>
  
  <p>respectively?</p>
  
  <p>Thanks, really appreciate the help!</p>
  
  <p>Alex</p>