diff --git a/src/components/Products/ReaderViewProduct/templates/CommunityQuestions.tsx b/src/components/Products/ReaderViewProduct/templates/CommunityQuestions.tsx index 96af5c4bacab..8ef4b5b87323 100644 --- a/src/components/Products/ReaderViewProduct/templates/CommunityQuestions.tsx +++ b/src/components/Products/ReaderViewProduct/templates/CommunityQuestions.tsx @@ -47,7 +47,10 @@ const CommunityQuestions = ({ id, productData }: SectionComponentProps) => { (node: CommunityStatsNode) => node.topicId === forumTopicId ) - const forumUrl = `/questions/topic/${slug}` + // Products can point their community links at another topic's slug (e.g. Replay + // Vision shares Session Replay's forum topic); fall back to their own slug. + const forumTopicSlug = (productData as any)?.forumTopicSlug ?? slug + const forumUrl = `/questions/topic/${forumTopicSlug}` const approxCount = (n: number) => { if (n >= 1000) return `With over ${(Math.floor(n / 1000) * 1000).toLocaleString()}` if (n >= 100) return `With over ${(Math.floor(n / 100) * 100).toLocaleString()}` diff --git a/src/hooks/productData/replay_vision.tsx b/src/hooks/productData/replay_vision.tsx index 57fdc4131b1c..56fe69393a0a 100644 --- a/src/hooks/productData/replay_vision.tsx +++ b/src/hooks/productData/replay_vision.tsx @@ -192,6 +192,9 @@ export const replayVision = { // from the same sources. teamSlug: 'replay', forumTopicId: 377, + // Forum topic 377 lives under Session Replay's slug – there is no + // /questions/topic/replay-vision page – so community links point there. + forumTopicSlug: sessionReplay.slug, color: 'yellow', colorSecondary: '[#B56C00]', wizardSupport: true, diff --git a/vercel.json b/vercel.json index fce5cac20406..ad56b3fdcd64 100644 --- a/vercel.json +++ b/vercel.json @@ -2834,6 +2834,10 @@ "source": "/questions/topic/session-recording", "destination": "/questions/topic/session-replay" }, + { + "source": "/questions/topic/replay-vision", + "destination": "/replay-vision" + }, { "source": "/blog/customer-churn-analysis-guide", "destination": "/blog/churn-rate-vs-retention-rate"