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

Browse Popular Code Answers by Language