Skip to content

Commit

Permalink
added website redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
rstaib committed Dec 22, 2022
1 parent 55c1951 commit d076104
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion website/gatsby-node.js
Expand Up @@ -115,7 +115,7 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
isPermanent: true,
});

// company
// Company
createRedirect({
fromPath: "/company",
toPath: "/",
Expand All @@ -129,6 +129,34 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
isPermanent: true,
});

// Services
createRedirect({
fromPath: "/services",
toPath: "/services/support",
redirectInBrowser: true,
isPermanent: true,
});
createRedirect({
fromPath: "/services/",
toPath: "/services/support",
redirectInBrowser: true,
isPermanent: true,
});

// Support
createRedirect({
fromPath: "/support",
toPath: "/services/support",
redirectInBrowser: true,
isPermanent: true,
});
createRedirect({
fromPath: "/support/",
toPath: "/services/support",
redirectInBrowser: true,
isPermanent: true,
});

// images
createRedirect({
fromPath: "/img/projects/greendonut-banner.svg",
Expand Down

0 comments on commit d076104

Please sign in to comment.