Skip to content

Commit 5952408

Browse files
committed
Return :splat redirects for Netlify
1 parent 0eef773 commit 5952408

File tree

1 file changed

+44
-67
lines changed

1 file changed

+44
-67
lines changed

redirects.json

Lines changed: 44 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -31,144 +31,121 @@
3131
"fromPath": "/search",
3232
"toPath": "/en/"
3333
},
34+
{
35+
"fromPath": "/use",
36+
"toPath": "/en/dapps/"
37+
},
3438
{
3539
"fromPath": "/beginners",
3640
"toPath": "/en/what-is-ethereum/"
3741
},
3842
{
3943
"fromPath": "/",
40-
"toPath": "/en/",
41-
"force": true
44+
"toPath": "/en/"
4245
},
4346
{
4447
"fromPath": "/what-is-ethereum/",
45-
"toPath": "/en/what-is-ethereum/",
46-
"force": true
48+
"toPath": "/en/what-is-ethereum/"
4749
},
4850
{
4951
"fromPath": "/eth/",
50-
"toPath": "/en/eth/",
51-
"force": true
52+
"toPath": "/en/eth/"
5253
},
5354
{
5455
"fromPath": "/dapps/",
55-
"toPath": "/en/dapps/",
56-
"force": true
56+
"toPath": "/en/dapps/"
5757
},
5858
{
5959
"fromPath": "/wallets/",
60-
"toPath": "/en/wallets/",
61-
"force": true
60+
"toPath": "/en/wallets/"
6261
},
6362
{
6463
"fromPath": "/learn/",
65-
"toPath": "/en/learn/",
66-
"force": true
64+
"toPath": "/en/learn/"
6765
},
6866
{
6967
"fromPath": "/community/",
70-
"toPath": "/en/community/",
71-
"force": true
68+
"toPath": "/en/community/"
7269
},
7370
{
7471
"fromPath": "/build/",
75-
"toPath": "/en/developers/learning-tools/",
76-
"force": true
72+
"toPath": "/en/developers/learning-tools/"
7773
},
7874
{
7975
"fromPath": "/developers/",
80-
"toPath": "/en/developers/",
81-
"force": true
76+
"toPath": "/en/developers/"
8277
},
8378
{
8479
"fromPath": "/enterprise/",
85-
"toPath": "/en/enterprise/",
86-
"force": true
80+
"toPath": "/en/enterprise/"
8781
},
8882
{
8983
"fromPath": "/whitepaper/",
90-
"toPath": "/en/whitepaper/",
91-
"force": true
84+
"toPath": "/en/whitepaper/"
9285
},
9386
{
9487
"fromPath": "/foundation/",
95-
"toPath": "/en/foundation/",
96-
"force": true
88+
"toPath": "/en/foundation/"
9789
},
9890
{
9991
"fromPath": "/eips/",
100-
"toPath": "/en/eips/",
101-
"force": true
92+
"toPath": "/en/eips/"
10293
},
10394
{
10495
"fromPath": "/about/",
105-
"toPath": "/en/about/",
106-
"force": true
96+
"toPath": "/en/about/"
10797
},
10898
{
10999
"fromPath": "/privacy-policy/",
110-
"toPath": "/en/privacy-policy/",
111-
"force": true
100+
"toPath": "/en/privacy-policy/"
112101
},
113102
{
114103
"fromPath": "/terms-of-use/",
115-
"toPath": "/en/terms-of-use/",
116-
"force": true
104+
"toPath": "/en/terms-of-use/"
117105
},
118106
{
119107
"fromPath": "/cookie-policy/",
120-
"toPath": "/en/cookie-policy/",
121-
"force": true
108+
"toPath": "/en/cookie-policy/"
122109
},
123110
{
124111
"fromPath": "/languages/",
125-
"toPath": "/en/languages/",
126-
"force": true
112+
"toPath": "/en/languages/"
127113
},
128114
{
129115
"fromPath": "/enterprise/",
130-
"toPath": "/en/enterprise/",
131-
"force": true
116+
"toPath": "/en/enterprise/"
132117
},
133118
{
134119
"fromPath": "/java/",
135-
"toPath": "/en/developers/docs/programming-languages/java/",
136-
"force": true
120+
"toPath": "/en/developers/docs/programming-languages/java/"
137121
},
138122
{
139123
"fromPath": "/python/",
140-
"toPath": "/en/developers/docs/programming-languages/python/",
141-
"force": true
124+
"toPath": "/en/developers/docs/programming-languages/python/"
142125
},
143126
{
144127
"fromPath": "/javascript/",
145-
"toPath": "/en/developers/docs/programming-languages/javascript/",
146-
"force": true
128+
"toPath": "/en/developers/docs/programming-languages/javascript/"
147129
},
148130
{
149131
"fromPath": "/golang/",
150-
"toPath": "/en/developers/docs/programming-languages/golang/",
151-
"force": true
132+
"toPath": "/en/developers/docs/programming-languages/golang/"
152133
},
153134
{
154135
"fromPath": "/rust/",
155-
"toPath": "/en/developers/docs/programming-languages/rust/",
156-
"force": true
136+
"toPath": "/en/developers/docs/programming-languages/rust/"
157137
},
158138
{
159139
"fromPath": "/dot-net/",
160-
"toPath": "/en/developers/docs/programming-languages/dot-net/",
161-
"force": true
140+
"toPath": "/en/developers/docs/programming-languages/dot-net/"
162141
},
163142
{
164143
"fromPath": "/delphi/",
165-
"toPath": "/en/developers/docs/programming-languages/delphi/",
166-
"force": true
144+
"toPath": "/en/developers/docs/programming-languages/delphi/"
167145
},
168146
{
169147
"fromPath": "/dart/",
170-
"toPath": "/en/developers/docs/programming-languages/dart/",
171-
"force": true
148+
"toPath": "/en/developers/docs/programming-languages/dart/"
172149
},
173150
{
174151
"fromPath": "/nft/",
@@ -192,7 +169,7 @@
192169
},
193170
{
194171
"fromPath": "/no/*",
195-
"toPath": "/nb/*"
172+
"toPath": "/nb/:splat"
196173
},
197174
{
198175
"fromPath": "/en/java/",
@@ -236,38 +213,38 @@
236213
},
237214
{
238215
"fromPath": "/*/beginners",
239-
"toPath": "/*/what-is-ethereum/"
240-
},
241-
{
242-
"fromPath": "/*/use",
243-
"toPath": "/*/dapps/"
216+
"toPath": "/:splat/what-is-ethereum/"
244217
},
245218
{
246219
"fromPath": "/*/build",
247-
"toPath": "/*/developers/learning-tools/"
220+
"toPath": "/:splat/developers/learning-tools/"
248221
},
249222
{
250223
"fromPath": "/*/eth2/the-docking",
251-
"toPath": "/*/eth2/merge/"
224+
"toPath": "/:splat/eth2/merge/"
252225
},
253226
{
254227
"fromPath": "/*/eth2/the-merge",
255-
"toPath": "/*/eth2/merge/"
228+
"toPath": "/:splat/eth2/merge/"
256229
},
257230
{
258231
"fromPath": "/*/eth2/docking",
259-
"toPath": "/*/eth2/merge/"
232+
"toPath": "/:splat/eth2/merge/"
260233
},
261234
{
262235
"fromPath": "/*/developers/docs/layer-2-scaling",
263-
"toPath": "/*/developers/docs/scaling"
236+
"toPath": "/:splat/developers/docs/scaling"
264237
},
265238
{
266239
"fromPath": "/*/about/web-developer",
267-
"toPath": "/*/about/#open-jobs"
240+
"toPath": "/:splat/about/#open-jobs"
268241
},
269242
{
270243
"fromPath": "/*/about/community-lead",
271-
"toPath": "/*/about/#open-jobs"
244+
"toPath": "/:splat/about/#open-jobs"
245+
},
246+
{
247+
"fromPath": "/*/use",
248+
"toPath": "/:splat/dapps/"
272249
}
273250
]

0 commit comments

Comments
 (0)