hotfix(seo): scope ton→gram redirect to benches with gram explainer - #750
Closed
Flotapponnier wants to merge 1 commit into
Closed
hotfix(seo): scope ton→gram redirect to benches with gram explainer#750Flotapponnier wants to merge 1 commit into
Flotapponnier wants to merge 1 commit into
Conversation
The catch-all /benchmarks/:slug/ton redirect fired on every bench, including aggregator-head-lag/gas-estimation/rpc-capabilities/etc that have no per_chain_explainer for gram. Result: 308 chain into 404, which Ahrefs + Google flag as a soft-404 anti-pattern. Now explicit per-bench: l1-finality, network-fees, wallet-labels-coverage.
Merged
5 tasks
Flotapponnier
commented
Jun 26, 2026
CollaboratorAuthor
Superseded by #753 (bundled SEO fixes to main) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The catch-all redirect
/benchmarks/:slug/ton → /benchmarks/:slug/gramfires for every bench, including ones with no gram per_chain_explainer. Example chain on prod:```
curl -I https://openchainbench.com/benchmarks/aggregator-head-lag/ton
→ 308 /benchmarks/aggregator-head-lag/gram
→ 404
```
Ahrefs + Google flag this redirect-to-404 chain as a soft 404 anti-pattern.
Fix
Drop the catch-all, enumerate the 3 benches that actually have a gram (formerly ton) explainer:
For all other benches,
/benchmarks/<slug>/tonwill return a clean 404 (no redirect chain).Test plan
curl -I /benchmarks/aggregator-head-lag/tonreturns 404, not 308curl -I /benchmarks/l1-finality/tonstill 308 → /gram (200)curl -I /benchmarks/network-fees/tonstill 308 → /gram (200)curl -I /benchmarks/wallet-labels-coverage/tonstill 308 → /gram (200)