From fd099e242e57fb7a75527d94d4440a44c46f5daf Mon Sep 17 00:00:00 2001 From: Drew Gorton Date: Fri, 17 Nov 2023 09:38:33 -0600 Subject: [PATCH] Add redirects from 404 logs (#5356) Add more redirects from the docs refactor --- website/docusaurus.config.js | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index bfc72c28c1..2b7c889de7 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -431,6 +431,7 @@ module.exports = { from: [ '/user_guide/important-concepts', '/tutorials/important-concepts', + '/reference/concepts/', ], to: '/reference', }, @@ -532,7 +533,10 @@ module.exports = { to: '/', }, { - from: '/topics/feature-flags/tutorials', + from: [ + '/topics/feature-flags/tutorials', + '/tutorials', + ], to: '/feature-flag-tutorials', }, { @@ -574,19 +578,31 @@ module.exports = { to: '/understanding-unleash/unleash-overview', }, { - from: '/tutorials/managing-constraints', + from: [ + '/tutorials/managing-constraints', + '/topics/managing-constraints', + ], to: '/understanding-unleash/managing-constraints', }, { - from: '/tutorials/the-anatomy-of-unleash', + from: [ + '/tutorials/the-anatomy-of-unleash', + '/topics/the-anatomy-of-unleash', + ], to: '/understanding-unleash/the-anatomy-of-unleash', }, { - from: '/tutorials/proxy-hosting', + from: [ + '/tutorials/proxy-hosting', + '/topics/proxy-hosting', + ], to: '/understanding-unleash/proxy-hosting', }, { - from: '/tutorials/data-collection', + from: [ + '/tutorials/data-collection', + '/topics/data-collection', + ], to: '/understanding-unleash/data-collection', }, @@ -606,6 +622,13 @@ module.exports = { from: '/how-to/how-to-troubleshoot-feature-not-available', to: '/using-unleash/troubleshooting/feature-not-available', }, + { + from: [ + '/reference/deploy', + '/deploy', + ], + to: '/using-unleash/deploy', + }, { from: [ '/reference/deploy/getting-started',