Closed couleurmate closed 5 years ago
RewriteCond %{THE_REQUEST} .html [NC] RewriteRule ^(.*).html$ /$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html [L]
RewriteCond %{THE_REQUEST} .html [NC] RewriteRule ^(.*).html$ /$1 [R=301,L]