From 7e19f3efcfc4033310cda7ce30d5286f859db8d8 Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Fri, 31 Jul 2026 12:25:47 -0700 Subject: [PATCH] improvement(seo): noindex landing OG image endpoints via X-Robots-Tag --- apps/sim/app/(landing)/og-utils.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/sim/app/(landing)/og-utils.tsx b/apps/sim/app/(landing)/og-utils.tsx index 9eaf8beb1a8..c6e04f00549 100644 --- a/apps/sim/app/(landing)/og-utils.tsx +++ b/apps/sim/app/(landing)/og-utils.tsx @@ -159,6 +159,13 @@ export async function createLandingOgImage({ , { ...size, + /** + * These endpoints are social-card assets, not destinations. `noindex` + * keeps them out of search results while leaving them fetchable, so + * unfurl bots (which ignore the header) still render previews — unlike a + * robots.txt `Disallow`, which would block the fetch itself. + */ + headers: { 'X-Robots-Tag': 'noindex' }, fonts: [ ...(regularFontData ? [