mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user