From d0eb8c009139edb21f3a679bc5554897d3d84717 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 4 Oct 2023 10:08:52 +0200 Subject: [PATCH] lets try this: no html endings necessary --- .htaccess | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..aef1c29 --- /dev/null +++ b/.htaccess @@ -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]