Skip to content

Commit c26ed92

Browse files
xMohamdovflowd
andauthored
fix(redirect): redirect old links to the new ones (nodejs#6339)
* fix(redirect): redirect old links to the new ones * Remove redundant redirect * Update redirects.json Signed-off-by: Claudio W <[email protected]> --------- Signed-off-by: Claudio W <[email protected]> Co-authored-by: Claudio W <[email protected]>
1 parent 939aa62 commit c26ed92

File tree

1 file changed

+33
-21
lines changed

1 file changed

+33
-21
lines changed

redirects.json

Lines changed: 33 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,6 @@
116116
"source": "/:locale/docs/inspector",
117117
"destination": "/:locale/learn/getting-started/debugging"
118118
},
119-
{
120-
"source": "/:locale/docs/guides/debugging-getting-started",
121-
"destination": "/:locale/learn/getting-started/debugging"
122-
},
123119
{
124120
"source": "/:locale/contribute/:path*",
125121
"destination": "/:locale/get-involved"
@@ -169,44 +165,60 @@
169165
"destination": "/:locale/about/security-reporting"
170166
},
171167
{
172-
"source": "/:locale/docs/guides/getting-started-guide",
168+
"source": "/:locale/docs",
169+
"destination": "https://nodejs.org/docs/latest/api/"
170+
},
171+
{
172+
"source": "/:locale/docs/guides",
173+
"destination": "/:locale/guides"
174+
},
175+
{
176+
"source": "/:locale/docs/guides/:path*",
177+
"destination": "/:locale/guides/:path*"
178+
},
179+
{
180+
"source": "/:locale/guides/getting-started-guide",
173181
"destination": "/:locale/learn/getting-started/introduction-to-nodejs"
174182
},
175183
{
176-
"source": "/:locale/docs/guides/blocking-vs-non-blocking",
184+
"source": "/:locale/guides/blocking-vs-non-blocking",
177185
"destination": "/:locale/learn/asynchronous-work/overview-of-blocking-vs-non-blocking"
178186
},
179187
{
180-
"source": "/:locale/docs/guides/timers-in-node/",
188+
"source": "/:locale/guides/timers-in-node",
181189
"destination": "/:locale/learn/asynchronous-work/discover-javascript-timers"
182190
},
183191
{
184-
"source": "/:locale/docs/es6",
185-
"destination": "/:locale/learn/getting-started/ecmascript-2015-es6-and-beyond"
192+
"source": "/:locale/guides/working-with-different-filesystems",
193+
"destination": "/:locale/learn/manipulating-files/working-with-different-filesystems"
186194
},
187195
{
188-
"source": "/:locale/docs/guides/diagnostics-flamegraph",
189-
"destination": "/:locale/learn/diagnostics/flame-graphs"
196+
"source": "/:locale/guides/anatomy-of-an-http-transaction",
197+
"destination": "/:locale/learn/modules/anatomy-of-an-http-transaction"
190198
},
191199
{
192-
"source": "/:locale/docs/guides/diagnostics",
193-
"destination": "/:locale/learn/diagnostics/user-journey"
200+
"source": "/:locale/guides/publishing-napi-modules",
201+
"destination": "/:locale/learn/modules/publishing-node-api-modules"
194202
},
195203
{
196-
"source": "/:locale/docs/guides/diagnostics/:path*",
197-
"destination": "/:locale/learn/diagnostics/:path*"
204+
"source": "/:locale/docs/es6",
205+
"destination": "/:locale/learn/getting-started/ecmascript-2015-es6-and-beyond"
198206
},
199207
{
200-
"source": "/:locale/docs",
201-
"destination": "https://nodejs.org/docs/latest/api/"
208+
"source": "/:locale/guides/diagnostics-flamegraph",
209+
"destination": "/:locale/learn/diagnostics/flame-graphs"
202210
},
203211
{
204-
"source": "/:locale/docs/guides",
205-
"destination": "/:locale/guides"
212+
"source": "/:locale/guides/diagnostics",
213+
"destination": "/:locale/learn/diagnostics/user-journey"
206214
},
207215
{
208-
"source": "/:locale/docs/guides/:path*",
209-
"destination": "/:locale/guides/:path*"
216+
"source": "/:locale/guides/debugging-getting-started",
217+
"destination": "/:locale/learn/getting-started/debugging"
218+
},
219+
{
220+
"source": "/:locale/guides/diagnostics/:path*",
221+
"destination": "/:locale/learn/diagnostics/:path*"
210222
},
211223
{
212224
"source": "/:locale/get-involved",

0 commit comments

Comments
 (0)