From 9ba848d1d031aa485dfd8558684b248bdefe3de0 Mon Sep 17 00:00:00 2001 From: Florent Tapponnier Date: Thu, 11 Jun 2026 17:14:27 +0200 Subject: [PATCH] fix(merge): drop main's sp-based robots block, dev removed searchParams from generateMetadata --- src/app/benchmarks/[slug]/page.tsx | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/app/benchmarks/[slug]/page.tsx b/src/app/benchmarks/[slug]/page.tsx index 8497772e..c13ef87b 100644 --- a/src/app/benchmarks/[slug]/page.tsx +++ b/src/app/benchmarks/[slug]/page.tsx @@ -106,21 +106,6 @@ export async function generateMetadata({ title: metaTitle, description, alternates: { canonical }, - // Any URL with a filter query param (?chain=…, ?region=…) points its - // canonical at the unfiltered hub. We also noindex these variants - // directly — Google otherwise sees multiple competing URLs for the - // same canonical, which reads as duplicate-content gaming and waters - // down the hub's authority. `follow` stays on so chain pages are - // still discoverable via internal links. - // - // We check the RAW query params (not just `isChainScoped`) so that - // `?chain=foo` for an unknown chain is also noindexed — Google could - // otherwise stumble onto an out-of-scope chain via a stale internal - // link and treat the resulting page as a thin near-duplicate. - robots: - sp.chain !== undefined || sp.region !== undefined - ? { index: false, follow: true } - : { index: true, follow: true }, openGraph: { title: metaTitle, description,