title: Laravel routing working on local server but not on cpanel
body: <p>I am working on laravel 5.5.33. I have created few pages like <strong>index.blade.php</strong>, <strong>about.blade.php</strong> etc. in view folder.</p>
  
  <p>The routing for both the pages are working perfectly on local machine.
  Then I migrated the project folder to my shared hosting.
  The routing for the page <strong>index.blade.php</strong> is working perfectly but the same function is not working for any other file e.g <strong>about.blade.php</strong>.</p>
  
  <p>web.php</p>
  
  <pre><code>// This function is working for index file
   Route::get('/', function () {
      return view('index');
  });
  
  // This function is not working for about file
  Route::get('about', function () {
      return view ('about');
  });
  </code></pre>
  
  <p>header.blade.php</p>
  
  <pre><code>&lt;ul&gt;
  &lt;li class="mega-menu"&gt;&lt;a href="/"&gt;Home&lt;/a&gt;&lt;/li&gt;
  &lt;li class="mega-menu"&gt;&lt;a href="about"&gt;About Us&lt;/a&gt;&lt;/li&gt;
  &lt;ul&gt;
  </code></pre>