lets try this: no html endings necessary

This commit is contained in:
Robin Müller 2023-10-04 10:08:52 +02:00
parent 823a598d41
commit d0eb8c0091
Signed by: muellerr
GPG Key ID: A649FB78196E3849

8
.htaccess Normal file
View File

@ -0,0 +1,8 @@
RewriteEngine on
RewriteCond %{THE_REQUEST} /([^.]+)\.html [NC]
RewriteRule ^ /%1 [NC,L,R]
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^ %{REQUEST_URI}.html [NC,L]