title: PHP subfolder used as home directory
body: <p>I am coding a website with php, html, css and a few javascript.
  I am on localhost, more exactly LAMP server, and for me to access this &quot;website&quot; the url on the browser is <code>http://localhost/website</code>.</p>
  <p>What I want is to have an subfolder that has a <code>index.php</code>. So I had made an <code>index.php</code> on the main folder that includes the <code>subfolder/index.php</code> and everything works great.</p>
  <p>Now I want to create an about page on the subfolder (<code>subfolder/about.php</code>). However the url should be <code>localhost/website/about.php</code> and this doesn't work.</p>
  <p>How can I have a subfolder like it was the main folder to display?</p>
  <p>trying to simplify the question:</p>
  <pre><code>website/
      subfolder/
          index.php
          about.php
          products.php
          etc.php
      index.php
  </code></pre>
  <p>imaging that this above is the files directory, probably its possible to understand.</p>
  <p>so the link should be website/about.php   and not website/subfolder/about.php
  basically what I need is that the subfolder acts like it was the root folder of the website.</p>