Skip to content

Commit

Permalink
docs(redirect): fix redirect rules (#2293)
Browse files Browse the repository at this point in the history
Fix #2214, #2241
  • Loading branch information
profreelancer222 committed Jul 11, 2018
1 parent e5c6cfb commit b0cddf4
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions docs/.vuepress/public/_redirects
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

0 comments on commit b0cddf4

Please sign in to comment.