Skip to content

Commit

Permalink
docs: remove redirect for non matching /en/* to /en/404
Browse files Browse the repository at this point in the history
This proceeds before docusaurus' redirects which breaks /en/category.html -> /en/category -> /en/routes/category
  • Loading branch information
TonyRL authored Aug 17, 2023
1 parent e4d5427 commit f97ec50
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions website/static/_redirects
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f97ec50

Please sign in to comment.