From ded19f663c9531221e71e896906f0cb475da5a85 Mon Sep 17 00:00:00 2001 From: Sidney Swift <158200036+sidneyswift@users.noreply.github.com> Date: Fri, 19 Jun 2026 17:37:19 -0400 Subject: [PATCH] chore(config): update next.config.mjs Co-authored-by: Cursor --- next.config.mjs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index 453185f..292d69c 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -7,6 +7,28 @@ const nextConfig = { mdxRs: true, }, turbopack: {}, + // Cutover: Research consolidated into the marketing app at + // recoupable.com/research. These 301s preserve SEO authority + inbound links + // from the old research.recoupable.com subdomain. See docs/research-cutover.md. + async redirects() { + return [ + { + source: "/blog/:slug", + destination: "https://recoupable.com/research/:slug", + permanent: true, + }, + { + source: "/blog", + destination: "https://recoupable.com/research", + permanent: true, + }, + { + source: "/", + destination: "https://recoupable.com/research", + permanent: true, + }, + ]; + }, }; export default withContentlayer(nextConfig);