Skip to content

Commit 8949d56

Browse files
committed
docs: try language redirection
1 parent 7daa88a commit 8949d56

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

website/static/_redirects

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# https://docs.netlify.com/routing/redirects/redirect-options/#custom-404-page-handling
2-
# redirect all zh browser language request to homepage to /zh/
3-
/* /zh/:splat 302 Language=zh
1+
# https://docs.netlify.com/routing/redirects/redirect-options
2+
43
# symlink logo
54
/logo.png /img/logo.png 200
5+
6+
# redirect all zh browser language request to homepage to /zh/
7+
/* /zh/:splat 302 Language=zh

0 commit comments

Comments
 (0)