Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirects config cleanup 2024-03-18 #10387

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
207 changes: 75 additions & 132 deletions config/redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,7 @@ const redirects = [
to: '/',
},
{
from: [
'/contentful-test-1',
'/contentful-test-2',
'/contentful-test-3',
'/contentful-test-4',
],
from: ['/contentful-test-1', '/contentful-test-2', '/contentful-test-3', '/contentful-test-4'],
to: '/',
},
{
Expand Down Expand Up @@ -315,11 +310,7 @@ const redirects = [
to: '/quickstart/native/wpf-winforms',
},
{
from: '/xamarin-tutorial',
to: '/quickstart/native/xamarin',
},
{
from: '/quickstart/native/xamarin',
from: ['/quickstart/native/xamarin', '/xamarin-tutorial'],
to: '/quickstart/native/net-android-ios',
},
{
Expand Down Expand Up @@ -371,7 +362,7 @@ const redirects = [
to: '/quickstart/spa',
},
{
from: ['/quickstart', '/quickstart/'],
from: ['/quickstart', '/quickstart/', '/quickstart/native/cordova'],
to: '/quickstarts',
},
{
Expand Down Expand Up @@ -410,10 +401,6 @@ const redirects = [
],
to: '/quickstart/webapp/express',
},
{
from: ['/quickstart/native/cordova'],
to: '/quickstart',
},

/* CONNECTIONS */

Expand Down Expand Up @@ -972,7 +959,6 @@ const redirects = [
{
from: ['/microsites/call-api/call-api-m2m-app'],
to: '/get-started/authentication-and-authorization-flow/client-credentials-flow',

},
{
from: ['/microsites/add-login/add-login-native-mobile-app'],
Expand Down Expand Up @@ -1821,39 +1807,27 @@ const redirects = [
to: '/get-started/applications/test-database-connections',
},
{
from: [
'/get-started/tenant-settings/auth0-teams',
],
from: ['/get-started/tenant-settings/auth0-teams'],
to: '/get-started/auth0-teams',
},
{
from: [
'/get-started/tenant-settings/auth0-teams/tenant-management',
],
from: ['/get-started/tenant-settings/auth0-teams/tenant-management'],
to: '/get-started/auth0-teams/tenant-management',
},
{
from: [
'/get-started/tenant-settings/auth0-teams/team-member-management',
],
from: ['/get-started/tenant-settings/auth0-teams/team-member-management'],
to: '/get-started/auth0-teams/team-member-management',
},
{
from: [
'/get-started/tenant-settings/auth0-teams/tenant-member-management',
],
from: ['/get-started/tenant-settings/auth0-teams/tenant-member-management'],
to: '/get-started/auth0-teams/tenant-member-management',
},
{
from: [
'/get-started/tenant-settings/auth0-teams/configure-security-policies',
],
from: ['/get-started/tenant-settings/auth0-teams/configure-security-policies'],
to: '/get-started/auth0-teams/configure-security-policies',
},
{
from: [
'/get-started/tenant-settings/auth0-teams/troubleshoot-teams',
],
from: ['/get-started/tenant-settings/auth0-teams/troubleshoot-teams'],
to: '/get-started/auth0-teams/troubleshoot-teams',
},

Expand Down Expand Up @@ -3236,9 +3210,9 @@ const redirects = [
to: '/customize',
},
{
from: ['/sign-up-prompt-customizations',],
to: '/customize/universal-login-pages/customize-signup-and-login-prompts',
},
from: ['/sign-up-prompt-customizations'],
to: '/customize/universal-login-pages/customize-signup-and-login-prompts',
},
{
from: [
'/universal-login/new-experience/universal-login-page-templates',
Expand Down Expand Up @@ -4159,46 +4133,86 @@ const redirects = [
/* Deploy CLI Tool */

{
from: ['/deploy-monitor/deploy-cli-tool/install-and-configure-the-deploy-cli-tool'],
from: [
'/deploy-monitor/deploy-cli-tool/install-and-configure-the-deploy-cli-tool',
'/extensions/deploy-cli/guides/install-deploy-cli',
'/extensions/deploy-cli-tool/install-and-configure-the-deploy-cli-tool',
'/deploy/deploy-cli-tool/install-and-configure-the-deploy-cli-tool',
],
to: '/deploy-monitor/deploy-cli-tool',
},
{
from: ['/deploy-monitor/deploy-cli-tool/create-and-configure-the-deploy-cli-application'],
from: [
'/deploy-monitor/deploy-cli-tool/create-and-configure-the-deploy-cli-application',
'/extensions/deploy-cli/guides/create-deploy-cli-application-manually',
'/extensions/deploy-cli-tool/create-and-configure-the-deploy-cli-application-manually',
'/extensions/deploy-cli-tool/create-and-configure-the-deploy-cli-application',
'/deploy/deploy-cli-tool/create-and-configure-the-deploy-cli-application',
],
to: '/deploy-monitor/deploy-cli-tool',
},
{
from: ['/deploy-monitor/auth0-deploy-cli/configuring-the-deploy-cli',
'/deploy-monitor/deploy-cli-tool/configuring-the-deploy-cli',
],
from: [
'/deploy-monitor/auth0-deploy-cli/configuring-the-deploy-cli',
'/deploy-monitor/deploy-cli-tool/configuring-the-deploy-cli',
],
to: '/deploy-monitor/deploy-cli-tool/configure-the-deploy-cli',
},
{
from: ['/deploy-monitor/deploy-cli-tool/call-deploy-cli-tool-programmatically',
'/deploy-monitor/deploy-cli-tool/using-as-a-node-module',],
from: [
'/deploy-monitor/deploy-cli-tool/call-deploy-cli-tool-programmatically',
'/deploy-monitor/deploy-cli-tool/using-as-a-node-module',
'/extensions/deploy-cli-tool/call-deploy-cli-tool-programmatically',
'/extensions/deploy-cli/guides/call-deploy-cli-programmatically',
'/deploy/deploy-cli-tool/call-deploy-cli-tool-programmatically',
],
to: '/deploy-monitor/deploy-cli-tool/use-as-a-node-module',
},
{
from: ['/deploy-monitor/deploy-cli-tool/incorporate-deploy-cli-into-build-environment',
'/deploy-monitor/deploy-cli-tool/incorporating-into-multi-environment-workflows',
],
from: [
'/deploy-monitor/deploy-cli-tool/incorporate-deploy-cli-into-build-environment',
'/deploy-monitor/deploy-cli-tool/incorporating-into-multi-environment-workflows',
'/extensions/deploy-cli/guides/incorporate-deploy-cli-into-build-environment',
'/extensions/deploy-cli-tool/incorporate-deploy-cli-into-build-environment',
'/deploy/deploy-cli-tool/incorporate-deploy-cli-into-build-environment',
],
to: '/deploy-monitor/deploy-cli-tool/incorporate-into-multi-environment-workflows',
},
{
from: ['/deploy-monitor/deploy-cli-tool/import-export-tenant-configuration-to-yaml-file'],
from: [
'/deploy-monitor/deploy-cli-tool/import-export-tenant-configuration-to-yaml-file',
'/extensions/deploy-cli/guides/import-export-yaml-file',
'/extensions/deploy-cli-tool/import-export-tenant-configuration-to-yaml-file',
'/deploy/deploy-cli-tool/import-export-tenant-configuration-to-yaml-file',
],
to: '/deploy-monitor/deploy-cli-tool/keyword-replacement',
},
{
from: ['/deploy-monitor/deploy-cli-tool/import-export-tenant-configuration-to-directory-structure'],
from: [
'/deploy-monitor/deploy-cli-tool/import-export-tenant-configuration-to-directory-structure',
'/extensions/deploy-cli/guides/import-export-directory-structure',
'/extensions/deploy-cli-tool/import-export-tenant-configuration-to-directory-structure',
'/deploy/deploy-cli-tool/import-export-tenant-configuration-to-directory-structure',
],
to: '/deploy-monitor/deploy-cli-tool/keyword-replacement',
},
{
from: ['/deploy-monitor/deploy-cli-tool/environment-variables-and-keyword-mappings'],
from: [
'/deploy-monitor/deploy-cli-tool/environment-variables-and-keyword-mappings',
'/extensions/deploy-cli/references/environment-variables-keyword-mappings',
'/extensions/deploy-cli-tool/environment-variables-and-keyword-mappings',
'/deploy/deploy-cli-tool/environment-variables-and-keyword-mappings',
],
to: '/deploy-monitor/deploy-cli-tool/keyword-replacement',
},
{
from: ['/deploy-monitor/deploy-cli-tool/deploy-cli-tool-options',
'/deploy-monitor/deploy-cli-tool/using-as-a-cli',
],
from: [
'/deploy-monitor/deploy-cli-tool/deploy-cli-tool-options',
'/deploy-monitor/deploy-cli-tool/using-as-a-cli',
'/extensions/deploy-cli/references/deploy-cli-options',
'/extensions/deploy-cli-tool/deploy-cli-tool-options',
'/deploy/deploy-cli-tool/deploy-cli-tool-options',
],
to: '/deploy-monitor/deploy-cli-tool/use-as-a-cli',
},
{
Expand Down Expand Up @@ -4650,71 +4664,6 @@ const redirects = [
],
to: '/deploy-monitor/deploy-cli-tool',
},
{
from: [
'/extensions/deploy-cli-tool/call-deploy-cli-tool-programmatically',
'/extensions/deploy-cli/guides/call-deploy-cli-programmatically',
'/deploy/deploy-cli-tool/call-deploy-cli-tool-programmatically',
],
to: '/deploy-monitor/deploy-cli-tool/call-deploy-cli-tool-programmatically',
},
{
from: [
'/extensions/deploy-cli/guides/create-deploy-cli-application-manually',
'/extensions/deploy-cli-tool/create-and-configure-the-deploy-cli-application-manually',
'/extensions/deploy-cli-tool/create-and-configure-the-deploy-cli-application',
'/deploy/deploy-cli-tool/create-and-configure-the-deploy-cli-application',
],
to: '/deploy-monitor/deploy-cli-tool/create-and-configure-the-deploy-cli-application',
},
{
from: [
'/extensions/deploy-cli/guides/import-export-directory-structure',
'/extensions/deploy-cli-tool/import-export-tenant-configuration-to-directory-structure',
'/deploy/deploy-cli-tool/import-export-tenant-configuration-to-directory-structure',
],
to: '/deploy-monitor/deploy-cli-tool/import-export-tenant-configuration-to-directory-structure',
},
{
from: [
'/extensions/deploy-cli/guides/import-export-yaml-file',
'/extensions/deploy-cli-tool/import-export-tenant-configuration-to-yaml-file',
'/deploy/deploy-cli-tool/import-export-tenant-configuration-to-yaml-file',
],
to: '/deploy-monitor/deploy-cli-tool/import-export-tenant-configuration-to-yaml-file',
},
{
from: [
'/extensions/deploy-cli/guides/incorporate-deploy-cli-into-build-environment',
'/extensions/deploy-cli-tool/incorporate-deploy-cli-into-build-environment',
'/deploy/deploy-cli-tool/incorporate-deploy-cli-into-build-environment',
],
to: '/deploy-monitor/deploy-cli-tool/incorporate-deploy-cli-into-build-environment',
},
{
from: [
'/extensions/deploy-cli/guides/install-deploy-cli',
'/extensions/deploy-cli-tool/install-and-configure-the-deploy-cli-tool',
'/deploy/deploy-cli-tool/install-and-configure-the-deploy-cli-tool',
],
to: '/deploy-monitor/deploy-cli-tool/install-and-configure-the-deploy-cli-tool',
},
{
from: [
'/extensions/deploy-cli/references/deploy-cli-options',
'/extensions/deploy-cli-tool/deploy-cli-tool-options',
'/deploy/deploy-cli-tool/deploy-cli-tool-options',
],
to: '/deploy-monitor/deploy-cli-tool/deploy-cli-tool-options',
},
{
from: [
'/extensions/deploy-cli/references/environment-variables-keyword-mappings',
'/extensions/deploy-cli-tool/environment-variables-and-keyword-mappings',
'/deploy/deploy-cli-tool/environment-variables-and-keyword-mappings',
],
to: '/deploy-monitor/deploy-cli-tool/environment-variables-and-keyword-mappings',
},

/* Get Started */

Expand Down Expand Up @@ -6562,11 +6511,11 @@ const redirects = [
},
{
from: [
'/mfa/adpative-mfa/adaptive-mfa-rule-actions',
'/login/mfa/adaptive-mfa/adaptive-mfa-rule-actions',
'/mfa/adpative-mfa/adaptive-mfa-rule-actions',
'/login/mfa/adaptive-mfa/adaptive-mfa-rule-actions',
'/secure/multi-factor-authentication/adaptive-mfa/adaptive-mfa-rule-actions',
'/secure/multi-factor-authentication/adaptive-mfa/adaptive-mfa-rules',
],
],
to: '/secure/multi-factor-authentication/adaptive-mfa/customize-adaptive-mfa',
},
{
Expand Down Expand Up @@ -6626,7 +6575,7 @@ const redirects = [
'/mfa/auth0-guardian/guardian-error-code-reference',
'/mfa/references/guardian-error-code-reference',
'/login/mfa/auth0-guardian/guardian-error-code-reference',
'/secure/multi-factor-authentication/auth0-guardian/guardian-error-code-reference'
'/secure/multi-factor-authentication/auth0-guardian/guardian-error-code-reference',
],
to: '/secure/multi-factor-authentication/multi-factor-authentication-developer-resources/guardian-error-code-reference',
},
Expand Down Expand Up @@ -7029,36 +6978,31 @@ const redirects = [
},
{
from: [
'/product-lifecycle/deprecations-and-migrations/tenant-hostname-migration',
'/troubleshoot/product-lifecycle/deprecations-and-migrations/tenant-hostname-migration',
'/product-lifecycle/deprecations-and-migrations/tenant-hostname-migration',
'/troubleshoot/product-lifecycle/deprecations-and-migrations/tenant-hostname-migration',
],
to: '/troubleshoot/product-lifecycle/past-migrations/tenant-hostname-migration',
},
{
from: ['/troubleshoot/product-lifecycle/deprecations-and-migrations/migrate-from-edge-js-extensibility-features'],
to: '/troubleshoot/product-lifecycle/past-migrations/migrate-from-edge-js-extensibility-features',
},

{
from: ['/troubleshoot/product-lifecycle/deprecations-and-migrations/migrate-from-oracledb-extensibility-features'],
to: '/troubleshoot/product-lifecycle/past-migrations/migrate-from-oracledb-extensibility-features',
},

{
from: ['/troubleshoot/product-lifecycle/deprecations-and-migrations/custom-claims-migration'],
to: '/troubleshoot/product-lifecycle/past-migrations/custom-claims-migration',
},

{
from: ['/troubleshoot/product-lifecycle/deprecations-and-migrations/migrate-actions-nodejs-16-to-nodejs-18'],
to: '/troubleshoot/product-lifecycle/past-migrations/migrate-actions-nodejs-16-to-nodejs-18',
},

{
{
from: ['/troubleshoot/product-lifecycle/deprecations-and-migrations/migrate-to-nodejs-16'],
to: '/troubleshoot/product-lifecycle/past-migrations/migrate-to-nodejs-16',
},

{
from: ['/troubleshoot/product-lifecycle/deprecations-and-migrations/migrate-from-log-extensions'],
to: '/troubleshoot/product-lifecycle/past-migrations/migrate-from-log-extensions',
Expand Down Expand Up @@ -8004,7 +7948,6 @@ const redirects = [
'/policies/authentication-api-endpoint-rate-limits',
'/support/policies/rate-limit-policy/authentication-api-endpoint-rate-limits',
'/troubleshoot/customer-support/operational-policies/rate-limit-policy/authentication-api-endpoint-rate-limits',

],
to: '/troubleshoot/customer-support/operational-policies/rate-limit-policy',
},
Expand Down