Skip to content

Commit 9a86b58

Browse files
author
Vivek Vishal
authored
Merge pull request #6418 from alokdangre/error404p-redirect
added redirects to 404 links
2 parents 2280583 + bacc2b7 commit 9a86b58

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

gatsby-node.js

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,48 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
341341
redirectInBrowser: true,
342342
isPermanent: true,
343343
});
344+
createRedirect({
345+
fromPath: "/products/nighthawk",
346+
toPath: "/projects/nighthawk",
347+
redirectInBrowser: true,
348+
isPermanent: true,
349+
});
350+
351+
createRedirect({
352+
fromPath: "/products/service-mesh-performance",
353+
toPath: "/projects/cloud-native-performance",
354+
redirectInBrowser: true,
355+
isPermanent: true,
356+
});
357+
358+
createRedirect({
359+
fromPath: "/products/service-mesh-performance-specification",
360+
toPath: "/projects/cloud-native-performance",
361+
redirectInBrowser: true,
362+
isPermanent: true,
363+
});
364+
365+
createRedirect({
366+
fromPath: "/cloud-native-management/meshmap/collaborate",
367+
toPath: "/cloud-native-management/kanvas/collaborate",
368+
redirectInBrowser: true,
369+
isPermanent: true,
370+
});
371+
372+
createRedirect({
373+
fromPath: "/blog/tag/meshery-open-source",
374+
toPath: "/blog/tag/open-source",
375+
redirectInBrowser: true,
376+
isPermanent: true,
377+
});
378+
379+
createRedirect({
380+
fromPath: "/blog/category/opensource",
381+
toPath: "/blog/category/open-source",
382+
redirectInBrowser: true,
383+
isPermanent: true,
384+
});
385+
344386
createRedirect({
345387
fromPath: "/cloud-native-management/meshmap/design",
346388
toPath: "/cloud-native-management/kanvas/design",

0 commit comments

Comments
 (0)