From f97ec50329b918b9e78f5cd222774a551c7aea04 Mon Sep 17 00:00:00 2001 From: Tony Date: Thu, 17 Aug 2023 09:34:16 +0800 Subject: [PATCH] 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 --- website/static/_redirects | 2 -- 1 file changed, 2 deletions(-) diff --git a/website/static/_redirects b/website/static/_redirects index 08fbf8145..3ca3a0ece 100644 --- a/website/static/_redirects +++ b/website/static/_redirects @@ -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