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]