From b31ecaa4b4b6246b4494cc4063bcec678c2c79f7 Mon Sep 17 00:00:00 2001 From: vivianyentran <20403606+vivianyentran@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:36:18 -0700 Subject: [PATCH] fix redirects (#10482) --- docs/platforms/python/migration/raven-to-sentry-sdk.mdx | 2 +- src/middleware.ts | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/platforms/python/migration/raven-to-sentry-sdk.mdx b/docs/platforms/python/migration/raven-to-sentry-sdk.mdx index 9c5200ff929ed..33bb76e2ad262 100644 --- a/docs/platforms/python/migration/raven-to-sentry-sdk.mdx +++ b/docs/platforms/python/migration/raven-to-sentry-sdk.mdx @@ -122,4 +122,4 @@ impossible to further improve them for a usecase without breaking somebody else's usecase. There is no easy search-and-replace type solution in the new SDK. -We encourage you to consider alternative options outlined at [_Filtering Events_](../configuration/filtering/). +We encourage you to consider alternative options outlined at [_Filtering Events_](/platforms/python/configuration/filtering/). diff --git a/src/middleware.ts b/src/middleware.ts index 61a5a0cbe6d69..939123aba0294 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -65,6 +65,14 @@ const REDIRECTS: Redirect[] = [ from: '/platforms/javascript/performance/instrumentation/custom-instrumentation/caches-module/', to: '/platforms/javascript/guides/node/performance/instrumentation/custom-instrumentation/caches-module/', }, + { + from: '/account/early-adopter-features/discord/', + to: '/organization/integrations/notification-incidents/discord/', + }, + { + from: '/platforms/python/migration/configuration/filtering/', + to: '/platforms/python/configuration/filtering/', + }, { from: '/organization/integrations/github/', to: '/organization/integrations/source-code-mgmt/github/',