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