From 4d9e5e81b17257aaa689915a907add42574acc49 Mon Sep 17 00:00:00 2001 From: krollins-mdb Date: Wed, 6 Nov 2024 10:26:09 -0600 Subject: [PATCH] Add more specific redirects for pages that 404 --- config/redirects | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/redirects b/config/redirects index 20f0325269..8d0c5b0521 100644 --- a/config/redirects +++ b/config/redirects @@ -1306,3 +1306,14 @@ raw: ${prefix}/migrate -> ${deviceSDKsBase}/migrate/ # No clarity from DOP on whether to use ${deviceSDKsBase} or ${base}, so going # with what we know works (${base}). raw: ${prefix}/sdk/dotnet/sync/convert-realm -> ${base}/sdk/dotnet/sync/configure-and-open-a-synced-realm + +# DOCSP-45013 +# Some links to the SDK docs aren't getting properly redirected +raw: ${prefix}/sdk/ios/ -> ${base}/sdk/swift/ +raw: ${prefix}/sdk/swift/sync/sync-progress/ -> ${base}/sdk/swift/sync/sync-session/ +raw: ${prefix}/sdk/swift/examples/define-a-realm-object-model/#std-label-ios-index-a-property -> ${base}/sdk/swift/model-data/object-models/#index-a-property +raw: ${prefix}/sdk/dotnet/fundamentals/object-models-and-schemas/#indexes -> ${base}/sdk/dotnet/model-data/define-object-model/#indexes +raw: ${prefix}/sdk/dotnet/examples/define-a-realm-object-model/#index-a-property -> ${base}/sdk/dotnet/model-data/define-object-model/#indexes +raw: ${prefix}/sdk/node/examples/define-a-realm-object-model/#index-a-property -> ${base}/sdk/node/model-data/define-a-realm-object-model/#index-a-property +raw: ${prefix}/sdk/react-native/examples/define-a-realm-object-model/#index-a-property -> ${base}/sdk/react-native/model-data/define-a-realm-object-model/#index-a-property +raw: ${prefix}/sdk/java/examples/define-a-realm-object-model/#index-a-field -> ${base}/sdk/java/model-data/define-a-realm-object-model/#index-a-field