title: .htaccess - How to Override Url Even If someone Puts the .PHP after the filename
body: <p>I have created the .htaccess file to rewrite url for .php </p>
  
  <p>Before creating the .htaccess files </p>
  
  <p>Url was like : www.xyz.com/contact.php </p>
  
  <p>After creating the file </p>
  
  <p>Its like : www.xyz.com/contact </p>
  
  <p>But if someone writes in the url </p>
  
  <p>www.xyz.com/contact.php </p>
  
  <p>The .PHP extension is displayed hoe to hide it even if someone enters it manually</p>