From a688edefdf8339f87be99bcb78ec88ec89c3b0b7 Mon Sep 17 00:00:00 2001 From: jacoblogan Date: Wed, 13 Nov 2024 11:16:28 -0700 Subject: [PATCH] updated prod redirects (#8089) --- redirects.json | 190 +++++++++++++++++++++++++------------------------ 1 file changed, 97 insertions(+), 93 deletions(-) diff --git a/redirects.json b/redirects.json index 2ab5924409f..3ad5b120e98 100644 --- a/redirects.json +++ b/redirects.json @@ -19,11 +19,7 @@ "target": "/javascript/tools/cli/plugins/", "status": "301" }, - { - "source": "/<*>", - "target": "/404/index.html", - "status": "404-200" - }, + { "source": "/<*>", "target": "/404/index.html", "status": "404-200" }, { "source": "/cli/usage/tags/", "target": "/javascript/tools/cli/project/tags/", @@ -614,11 +610,7 @@ "target": "/javascript/tools/cli-legacy/versioned-directive/", "status": "301" }, - { - "source": "/cli/", - "target": "/javascript/tools/cli/", - "status": "301" - }, + { "source": "/cli/", "target": "/javascript/tools/cli/", "status": "301" }, { "source": "/cli/auth/admin/", "target": "/javascript/build-a-backend/auth/admin-actions/", @@ -7004,11 +6996,7 @@ "target": "/react/how-amplify-works/", "status": "301" }, - { - "source": "/start/", - "target": "/react/start", - "status": "301" - }, + { "source": "/start/", "target": "/react/start", "status": "301" }, { "source": "/guides/<*>", "target": "/react/build-a-backend/", @@ -7579,11 +7567,7 @@ "target": "/react/sdk/info/app-uninstall", "status": "301" }, - { - "source": "/[platform]/start", - "target": "/react/start", - "status": "301" - }, + { "source": "/[platform]/start", "target": "/react/start", "status": "301" }, { "source": "/[platform]/start/getting-started/data-model", "target": "/react/start/getting-started/data-model", @@ -7629,11 +7613,7 @@ "target": "/react/tools/console/storage", "status": "301" }, - { - "source": "/Amazon", - "target": "/", - "status": "301" - }, + { "source": "/Amazon", "target": "/", "status": "301" }, { "source": "/android/build-ui/<*>", "target": "/android/build-ui/", @@ -7734,11 +7714,7 @@ "target": "/react/tools/cli/project/override-iam/", "status": "301" }, - { - "source": "/build-ui/", - "target": "/react/build-ui/", - "status": "301" - }, + { "source": "/build-ui/", "target": "/react/build-ui/", "status": "301" }, { "source": "/cli-legacy/graphql-t", "target": "/react/tools/cli-legacy/", @@ -7769,11 +7745,7 @@ "target": "/flutter/build-a-backend/", "status": "301" }, - { - "source": "/flutter/sdk/<*>", - "target": "/flutter/", - "status": "301" - }, + { "source": "/flutter/sdk/<*>", "target": "/flutter/", "status": "301" }, { "source": "/guides/", "target": "/react/build-a-backend/", @@ -8294,11 +8266,7 @@ "target": "/gen1/react-native/prev/build-a-backend/storage/", "status": "301" }, - { - "source": "/lib/", - "target": "/react/build-a-backend/", - "status": "301" - }, + { "source": "/lib/", "target": "/react/build-a-backend/", "status": "301" }, { "source": "/lib/analytics/enable-disable/", "target": "/react/build-a-backend/more-features/analytics/enable-disable/", @@ -8669,11 +8637,7 @@ "target": "/react/build-a-backend/utilities/service-worker/", "status": "301" }, - { - "source": "/nextjs/sdk/", - "target": "/nextjs/", - "status": "301" - }, + { "source": "/nextjs/sdk/", "target": "/nextjs/", "status": "301" }, { "source": "/react-native/build-a-backend/more-features/predictions/[}", "target": "/react-native/build-a-backend/more-features/", @@ -8684,21 +8648,9 @@ "target": "/react-native/start/getting-started/", "status": "301" }, - { - "source": "/react/sdk/", - "target": "/react/", - "status": "301" - }, - { - "source": "/sdk/", - "target": "/swift/sdk/", - "status": "301" - }, - { - "source": "/sdk/api/", - "target": "/swift/sdk/api/", - "status": "301" - }, + { "source": "/react/sdk/", "target": "/react/", "status": "301" }, + { "source": "/sdk/", "target": "/swift/sdk/", "status": "301" }, + { "source": "/sdk/api/", "target": "/swift/sdk/api/", "status": "301" }, { "source": "/sdk/auth/custom-auth-flow/q/platform/next/", "target": "/nextjs/", @@ -9699,16 +9651,8 @@ "target": "/react/reference/", "status": "301" }, - { - "source": "/gen2/start/", - "target": "/react/start/", - "status": "301" - }, - { - "source": "/gen2/", - "target": "/", - "status": "301" - }, + { "source": "/gen2/start/", "target": "/react/start/", "status": "301" }, + { "source": "/gen2/", "target": "/", "status": "301" }, { "source": "/gen1/gen2/deploy-and-host/hosting/", "target": "/react/deploy-and-host/hosting/", @@ -9989,11 +9933,7 @@ "target": "/gen1/react/build-ui/formbuilder/overrides/", "status": "301" }, - { - "source": "/react/prev/", - "target": "/gen1/react/prev/", - "status": "301" - }, + { "source": "/react/prev/", "target": "/gen1/react/prev/", "status": "301" }, { "source": "/react/prev/build-a-backend/troubleshooting/upgrade-amplify-packages/react/prev/", "target": "/gen1/react/prev/build-a-backend/troubleshooting/upgrade-amplify-packages/react/prev/", @@ -10019,11 +9959,7 @@ "target": "/gen1/swift/prev/start/project-setup/create-application/", "status": "301" }, - { - "source": "/vue/prev/", - "target": "/gen1/vue/prev/", - "status": "301" - }, + { "source": "/vue/prev/", "target": "/gen1/vue/prev/", "status": "301" }, { "source": "/vue/prev/start/project-setup/create-application/", "target": "/gen1/vue/prev/start/project-setup/create-application/", @@ -10139,11 +10075,7 @@ "target": "/react/start/quickstart/", "status": "301" }, - { - "source": "/ios/", - "target": "/swift/", - "status": "301" - }, + { "source": "/ios/", "target": "/swift/", "status": "301" }, { "source": "//build-a-backend/data/custom-business-logic/connect-external-ddb-table/", "target": "//build-a-backend/data/connect-to-existing-data-sources/connect-external-ddb-table/", @@ -10184,11 +10116,7 @@ "target": "/gen1/nextjs/prev/build-a-backend/auth/", "status": "301" }, - { - "source": "/gen1/js/", - "target": "/gen1/javascript", - "status": "301" - }, + { "source": "/gen1/js/", "target": "/gen1/javascript", "status": "301" }, { "source": "/gen1/flutter/prev/build-a-backend/graphqlapi/data-modeling/", "target": "/gen1/flutter/tools/console/data/data-model/", @@ -10214,14 +10142,90 @@ "target": "/gen1/react/tools/cli/commands/", "status": "301" }, - { - "source": "/gen1/flutter/build-a-backend/storage/move/", + { + "source": "//build-a-backend/data/custom-business-logic/connect-external-ddb-table/", + "target": "//build-a-backend/data/connect-to-existing-data-sources/connect-external-ddb-table/", + "status": "301" + }, + { + "source": "/gen1/REACT/build-a-backend/graphqlapi/customize-authz-modes/", + "target": "/gen1/react/build-a-backend/graphqlapi/customize-authorization-rules/", + "status": "301" + }, + { + "source": "/sdk/push-notifications/getting-started/", + "target": "/gen1/swift/sdk/push-notifications/getting-started/", + "status": "301" + }, + { + "source": "/lib/troubleshooting/upgrading/q/platform/flutter/", + "target": "/gen1/flutter/build-a-backend/troubleshooting/upgrade-amplify-packages/", + "status": "301" + }, + { + "source": "/start/getting-started/integrate/q/integration/react-native/", + "target": "/gen1/react-native/build-a-backend/more-features/datastore/set-up-datastore/", + "status": "301" + }, + { + "source": "/gen1/react/build-a-backend/auth/connect-your-frontend/sign-up/", + "target": "/gen1/react/build-a-backend/auth/enable-sign-up/", + "status": "301" + }, + { + "source": "/gen1/flutter/build-a-backend/storage/move/", "target": "/gen1/flutter/prev/build-a-backend/storage/move/", "status": "301" - }, + }, { "source": "/ai/", "target": "/react/ai/set-up-ai/", "status": "302" + }, + { + "source": "/android/start/connect-existing-aws-resources", + "target": "/android/start/connect-to-aws-resources", + "status": "301" + }, + { + "source": "/angular/start/connect-existing-aws-resources", + "target": "/angular/start/connect-to-aws-resources", + "status": "301" + }, + { + "source": "/flutter/start/connect-existing-aws-resources", + "target": "/flutter/start/connect-to-aws-resources", + "status": "301" + }, + { + "source": "/javascript/start/connect-existing-aws-resources", + "target": "/javascript/start/connect-to-aws-resources", + "status": "301" + }, + { + "source": "/nextjs/start/connect-existing-aws-resources", + "target": "/nextjs/start/connect-to-aws-resources", + "status": "301" + }, + { + "source": "/react/start/connect-existing-aws-resources", + "target": "/react/start/connect-to-aws-resources", + "status": "301" + }, + { + "source": "/react-native/start/connect-existing-aws-resources", + "target": "/react-native/start/connect-to-aws-resources", + "status": "301" + }, + { + "source": "/swift/start/connect-existing-aws-resources", + "target": "/swift/start/connect-to-aws-resources", + "status": "301" + }, + { + "source": "/vue/start/connect-existing-aws-resources", + "target": "/vue/start/connect-to-aws-resources", + "status": "301" } ] + \ No newline at end of file