Skip to content

Commit e6b6870

Browse files
authored
Add redirects for pages originally served at top level (#1144)
Add redirects for pages originally served at top
1 parent dcd72e2 commit e6b6870

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

netlify.toml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ publish = "dist/"
1212
from = "/docs/*"
1313
to = "/:splat"
1414
status = 302
15-
# Redirects to /en/ from old addresses at /
15+
# Redirects to /en/ from paths at /
1616
[[redirects]]
1717
from = "/reference*"
1818
to = "/en/reference/:splat"
@@ -29,3 +29,24 @@ publish = "dist/"
2929
from = "/project/*"
3030
to = "/en/project/:splat"
3131
status = 301
32+
# Redirects to /reference/ from old top-level paths
33+
[[redirects]]
34+
from = "/overview"
35+
to = "/reference"
36+
status = 301
37+
[[redirects]]
38+
from = "/emoji-key"
39+
to = "/reference/emoji-key"
40+
status = 301
41+
[[redirects]]
42+
from = "/specification"
43+
to = "/reference/specification"
44+
status = 301
45+
[[redirects]]
46+
from = "/tooling"
47+
to = "/reference/tooling"
48+
status = 301
49+
[[redirects]]
50+
from = "/usage-tips"
51+
to = "/reference/usage-tips"
52+
status = 301

0 commit comments

Comments
 (0)