Skip to content
Closed
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
19 changes: 17 additions & 2 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,24 @@ const nextConfig: NextConfig = {
destination: "/chains/gram",
permanent: true,
},
// Scoped to the 3 benches that ship a gram (formerly ton)
// per_chain_explainer. The previous catch-all `/benchmarks/:slug/ton`
// fired for every bench, redirecting non-gram benches to a /gram
// path that 404s (e.g. aggregator-head-lag/ton → aggregator-head-lag/gram → 404),
// which Ahrefs and Google flag as a soft-404 redirect chain.
{
source: "/benchmarks/:slug/ton",
destination: "/benchmarks/:slug/gram",
source: "/benchmarks/l1-finality/ton",
destination: "/benchmarks/l1-finality/gram",
permanent: true,
},
{
source: "/benchmarks/network-fees/ton",
destination: "/benchmarks/network-fees/gram",
permanent: true,
},
{
source: "/benchmarks/wallet-labels-coverage/ton",
destination: "/benchmarks/wallet-labels-coverage/gram",
permanent: true,
},
...chainRedirects,
Expand Down
Loading