From 9188b796fc41e4b0a711ec4d21d81e85e928ba5e Mon Sep 17 00:00:00 2001 From: Alexander Davis Date: Sun, 14 Dec 2025 13:22:27 +0000 Subject: [PATCH] Add .htaccess to rewrite URLs without .html extension Signed-off-by: Alexander Davis --- Export/.htaccess | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Export/.htaccess diff --git a/Export/.htaccess b/Export/.htaccess new file mode 100644 index 0000000..02da125 --- /dev/null +++ b/Export/.htaccess @@ -0,0 +1,9 @@ +RewriteEngine on + + +RewriteCond %{THE_REQUEST} /([^.]+)\.html [NC] +RewriteRule ^ /%1 [NC,L,R] + +RewriteCond %{REQUEST_FILENAME}.html -f +RewriteRule ^ %{REQUEST_URI}.html [NC,L] +