title: How to redirect a website if invalid URL path is entered in PHP?
body: <p>I am using PHP version 7 and .htaccess file with Ubuntu operating system</p>
  
  <pre><code>www.abc.com/ghfgdfg to www.abc.com
  </code></pre>