title: How can htaccess block php extension if someone types it?
body: <p>In my htaccess i have this rule.</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_FILENAME}.php -f
  RewriteCond %{REQUEST_URI} !/$
  RewriteRule ^(.*)$ $1\.php
  </code></pre>
  
  <p>My php extension now is off from my urls.</p>
  
  <p>But the thing is..</p>
  
  <p>If a user types down .php in the end it will load the page.</p>
  
  <p>Is there a way that i can block .php from url?</p>