diff --git a/DisCatSharp.Docs/.htaccess b/DisCatSharp.Docs/.htaccess index 8cd80f0b8..11b22f945 100644 --- a/DisCatSharp.Docs/.htaccess +++ b/DisCatSharp.Docs/.htaccess @@ -1,8 +1,10 @@ +### YamlMime:HtaccessControl + RewriteEngine On RewriteBase / RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.html [NC] RewriteRule ^ %1 [R=301,L] RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule ^(.*?)/?$ $1.html [NC,L]