docs: try language redirection

This commit is contained in:
DIYgod 2023-08-20 18:39:00 +01:00
parent 49183347a5
commit b5ed31f4ca
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

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