title: How to redirect php file outside of the folder location?
body: <p>Hello how do you redirect a page outside of the 'Model' folder because all my html files are outside of it. I want to redirect my page using this location </p>
  
  <pre><code>http://localhost/laurence/FirstDayTraining/index.html
  </code></pre>
  
  <p>Example:
  I have a php folder inside the 'Model' folder name <code>login.php</code> so in order to redirect it to the index.html, I have to use <code>header("Location: laurence/firstdaytraining/index.html");</code> but when I click enter this will be displayed </p>
  
  <pre><code>Object not found!
  
  The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
  
  If you think this is a server error, please contact the webmaster.
  
  Error 404
  </code></pre>
  
  <p>and the location is going to this path</p>
  
  <pre><code>http://localhost/laurence/FirstDayTraining/Model/index.html
  </code></pre>
  
  <p>Please help, how to redirect my page in this</p>
  
  <pre><code>http://localhost/laurence/FirstDayTraining/index.html
  </code></pre>
  
  <p>but not this</p>
  
  <pre><code>http://localhost/laurence/FirstDayTraining/Model/index.html
  </code></pre>