Answers for "RewriteRule ^([^\.]+)$ $1.php [NC,L]"

PHP
4

rewrite .php to no extension

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
Posted by: Guest on September-09-2020

Code answers related to "RewriteRule ^([^\.]+)$ $1.php [NC,L]"

Browse Popular Code Answers by Language