Skip to content

Commit bc62a63

Browse files
authored
added redirects to 404 links
Signed-off-by: Alok Dangre <[email protected]>
1 parent 711ee7a commit bc62a63

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+
createRedirect({
351+
fromPath: "/products/service-mesh-performance ",
352+
toPath: "/projects/cloud-native-performance ",
353+
redirectInBrowser: true,
354+
isPermanent: true,
355+
});
356+
createRedirect({
357+
fromPath: "/products/service-mesh-performance-specification ",
358+
toPath: "/projects/cloud-native-performance ",
359+
redirectInBrowser: true,
360+
isPermanent: true,
361+
});
362+
createRedirect({
363+
fromPath: "/cloud-native-management/meshmap/collaborate",
364+
toPath: "/cloud-native-management/kanvas/collaborate",
365+
redirectInBrowser: true,
366+
isPermanent: true,
367+
});
368+
createRedirect({
369+
fromPath: "/cloud-native-management/meshery/integrations/kubevault-metrics.html.html",
370+
toPath: "/cloud-native-management/meshery/integrations/kubevault-metrics",
371+
redirectInBrowser: true,
372+
isPermanent: true,
373+
});
374+
createRedirect({
375+
fromPath: "/blog/tag/meshery-open-source",
376+
toPath: "/blog/tag/open-source",
377+
redirectInBrowser: true,
378+
isPermanent: true,
379+
});
380+
createRedirect({
381+
fromPath: "/blog/category/opensource",
382+
toPath: "/blog/category/open-source",
383+
redirectInBrowser: true,
384+
isPermanent: true,
385+
});
344386
// Create Pages
345387
const { createPage } = actions;
346388

0 commit comments

Comments
 (0)