Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions src/app/benchmarks/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading