middleware: 410 for /products/bitquery + backfill token-trade-coverage - #1393
Merged
Conversation
…rage Adds REMOVED_PRODUCT_SLUGS set (starting with bitquery, orphaned by bench 090 drop) + extends middleware to intercept /products/:slug against it. Also backfills 'token-trade-coverage' into REMOVED_BENCH_SLUGS — was missed on this branch (regression across recent merges). Bench 090 URL and bitquery product URL will now return 410 (was 404) after next prod deploy — cleaner de-index signal for Google.
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 free
to 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.
Two SEO fixes rolled up.
1. /products/bitquery — 404 → 410
Bitquery was only referenced in bench 090 (token-trade-coverage, dropped 2026-07-24). Product page URL was live during bench 090's brief prod window, so Google likely indexed it. 404 leaves Google guessing (may hold URL in index for weeks). 410 tells Google "gone for good" — cleaner de-index.
2. token-trade-coverage backfill
The slug was missing from `REMOVED_BENCH_SLUGS` on this branch (regression across recent merges). Re-added so `/benchmarks/token-trade-coverage` returns 410 (currently 404 in prod because prod hasn't picked up the drop PR's REMOVED_BENCH_SLUGS entry).
Post-merge
Cherry-pick to main + `vercel --prod`. Then: