--- a +++ b/web/.htaccess @@ -0,0 +1,6 @@ +RewriteEngine On + +# If the request doesn't directly map to an existing file or directory, append .html +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^([^/.]+)$ $1.html [L] \ No newline at end of file