docs: remove redirect for non matching /en/* to /en/404

This proceeds before docusaurus' redirects which breaks /en/category.html -> /en/category -> /en/routes/category
This commit is contained in:
Tony 2023-08-17 09:34:16 +08:00 committed by GitHub
parent e4d5427145
commit f97ec50329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -1,7 +1,5 @@
# https://docs.netlify.com/routing/redirects/redirect-options/#custom-404-page-handling
# symlink logo
/logo.png /img/logo.png 200
# redirect all nonexistent paths in /en/ to /en/404
/en/* /en/404 404
# redirect all en browser language request to homepage to /en/
/ /en 302 Language=en