-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(redirect): fix redirect rules (#2293)
Fix #2214, #2241
- Loading branch information
1 parent
e5c6cfb
commit b0cddf4
Showing
1 changed file
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,31 @@ | ||
# redirect old urls to root | ||
|
||
/en/essentials/getting-started.html /guide/ | ||
/en/essentials/* /guide/essentials/* | ||
/en/advanced/* /guide/advanced/* | ||
/en/essentials/* /guide/essentials/:splat | ||
/en/advanced/* /guide/advanced/:splat | ||
/en/api/* /api/ | ||
/en/* /:splat | ||
|
||
/zh-cn/essentials/getting-started.html /zh/guide/ | ||
/zh-cn/essentials/* /zh/guide/essentials/* | ||
/zh-cn/advanced/* /zh/guide/advanced/* | ||
/zh-cn/essentials/* /zh/guide/essentials/:splat | ||
/zh-cn/advanced/* /zh/guide/advanced/:splat | ||
/zh-cn/api/* /zh/api/ | ||
/zh-cn/* /zh/:splat | ||
|
||
/ru/essentials/getting-started.html /ru/guide/ | ||
/ru/essentials/* /ru/guide/essentials/* | ||
/ru/advanced/* /ru/guide/advanced/* | ||
/ru/essentials/* /ru/guide/essentials/:splat | ||
/ru/advanced/* /ru/guide/advanced/:splat | ||
/ru/api/* /ru/api/ | ||
/ru/* /ru/:splat | ||
|
||
/ja/essentials/getting-started.html /ja/guide/ | ||
/ja/essentials/* /ja/guide/essentials/:splat | ||
/ja/advanced/* /ja/guide/advanced/:splat | ||
/ja/api/* /ja/api/ | ||
/ja/* /ja/:splat | ||
|
||
/kr/essentials/getting-started.html /kr/guide/ | ||
/kr/essentials/* /kr/guide/essentials/:splat | ||
/kr/advanced/* /kr/guide/advanced/:splat | ||
/kr/api/* /kr/api/ | ||
/kr/* /kr/:splat |