Answers for "how to edit htaccess file so remove file extension"

PHP
1

htaccess remove file extension

RewriteEngine on 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html [NC,L]
Posted by: Guest on January-16-2021

Code answers related to "how to edit htaccess file so remove file extension"

Browse Popular Code Answers by Language