Skip to content

Commit

Permalink
Redirects old docs that show up in search results (#759)
Browse files Browse the repository at this point in the history
Don't want users to see 404s
  • Loading branch information
patnir authored Nov 20, 2024
1 parent e2adfcf commit 43ffa3d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@ ${isDev ? '' : 'upgrade-insecure-requests;'}
destination: "/company/about-us",
permanent: true,
},
{
source: "/use/get-started/cli-how-to-use",
destination: "/developers/documentation/install-npm",
permanent: true,
},
{
source: "/use/get-started/installation",
destination: "/developers/documentation/install-npm",
permanent: true,
},
{
source: "/use/get-started/cli-cmd-start",
destination:
"/developers/documentation/run-a-node",
permanent: true,
},
{
source: "/faq",
destination: "/learn/faq",
Expand Down
2 changes: 1 addition & 1 deletion search/indexes/documentation-index.json

Large diffs are not rendered by default.

0 comments on commit 43ffa3d

Please sign in to comment.