From 05d6d80e3dbac437b09bde658a8efeeb1656dcd7 Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Thu, 19 Apr 2018 17:23:38 +0800 Subject: [PATCH] site: more verbose redirects --- netlify.toml | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 62 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 2ce46db664..7b3a312cea 100644 --- a/netlify.toml +++ b/netlify.toml @@ -43,13 +43,73 @@ force = false [[redirects]] - from = "/docs/pattern/*" + from = "/docs/pattern/advanced-search" to = "/docs/spec/overview" status = 301 force = false [[redirects]] - from = "/docs/pattern/*-cn" + from = "/docs/pattern/advanced-search-cn" + to = "/docs/spec/overview-cn" + status = 301 + force = false + +[[redirects]] + from = "/docs/pattern/complex-table" + to = "/docs/spec/overview" + status = 301 + force = false + +[[redirects]] + from = "/docs/pattern/complex-table-cn" + to = "/docs/spec/overview-cn" + status = 301 + force = false + +[[redirects]] + from = "/docs/pattern/form" + to = "/docs/spec/overview" + status = 301 + force = false + +[[redirects]] + from = "/docs/pattern/form-cn" + to = "/docs/spec/overview-cn" + status = 301 + force = false + +[[redirects]] + from = "/docs/pattern/list" + to = "/docs/spec/overview" + status = 301 + force = false + +[[redirects]] + from = "/docs/pattern/list-cn" + to = "/docs/spec/overview-cn" + status = 301 + force = false + +[[redirects]] + from = "/docs/pattern/navigation" + to = "/docs/spec/overview" + status = 301 + force = false + +[[redirects]] + from = "/docs/pattern/navigation-cn" + to = "/docs/spec/overview-cn" + status = 301 + force = false + +[[redirects]] + from = "/docs/pattern/table" + to = "/docs/spec/overview" + status = 301 + force = false + +[[redirects]] + from = "/docs/pattern/table-cn" to = "/docs/spec/overview-cn" status = 301 force = false