Answers for "how to hide php file extension in url"

PHP
1

hide php extension in url

Options +MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
Posted by: Guest on February-05-2021

Code answers related to "how to hide php file extension in url"

Browse Popular Code Answers by Language