title: PHP : Simple routing doesn't work with home page
body: <p>I am trying to create simple routing for my website by PHP. I create the index page containing the routes and three other pages (home.php, about.php and notfound.html).</p>
  <p>index.php code:</p>
  <pre><code>&lt;?php
  $path =trim($_SERVER['REQUEST_URI']);
  
  $routes = [
      ''=&gt; 'home.php',
      'aboutus'=&gt; 'aboutus.php',
      
  ];
  if (array_key_exists($path, $routes) ) {
      require $routes[$path];
    }else {
      require 'notfound.html';
    }
  ?&gt;
  </code></pre>
  <p>When I type the <em>aboutus</em> the page loads correct. But when I want to load the home.php file it will load the notfound.html.
  Where is my error?</p>
  <p>Note: All four files are in the same folder.</p>