diff --git a/.htaccess b/.htaccess index 647e36f..e68937e 100644 --- a/.htaccess +++ b/.htaccess @@ -1,13 +1,9 @@ -Options -Indexes +Options +MultiViews -Indexes ErrorDocument 404 /404.html RewriteEngine On RewriteBase / -# redirect from base urls to their .html files -RewriteCond %{REQUEST_FILENAME}.html -f -RewriteRule (.*) $1.html [L] - # legacy redirects (for deleted stuff) RewriteRule ^blog-(.*)$ "https://ellpeck.de/blog/$1" [R=301,L] RewriteRule ^minecraft-stuff/?$ "https://ellpeck.de/projects" [R=301,L]