Answers for "how to remove file extension using htaccess"

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 remove file extension using htaccess"

Browse Popular Code Answers by Language