Skip to content

seo: permanent redirects for retired URLs to current equivalents#950

Open
Jordy-Baby wants to merge 2 commits into
mainfrom
seo/redirect-blockchain-indexer-dapp
Open

seo: permanent redirects for retired URLs to current equivalents#950
Jordy-Baby wants to merge 2 commits into
mainfrom
seo/redirect-blockchain-indexer-dapp

Conversation

@Jordy-Baby
Copy link
Copy Markdown
Collaborator

@Jordy-Baby Jordy-Baby commented Jun 2, 2026

Summary

  • Adds permanent (308) redirects in vercel.json for a batch of legacy paths that were returning 404, recovering link equity to the current equivalents.
  • Covers both HTML and .md route variants.
  • Uses pattern rules for long-tail buckets so the redirect block stays compact.

Test plan

  • vercel.json valid JSON; yarn build passes
  • Path patterns validated locally with path-to-regexp
  • Vercel preview returns 308 → 200 on a sample across each pattern bucket
  • .md variants redirect cleanly

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation

    • Enhanced the blockchain indexer blog post with an expanded introduction and clearer focus on developer requirements.
  • Chores

    • Added URL redirects to maintain accessibility for legacy blog and documentation links pointing to updated content.

Adds server-side 301 from the legacy /blog/what-is-a-blockchain-indexer-for-dapp-development URL (and its .md variant) to /blog/what-is-a-blockchain-indexer, the current maintained post. The legacy source was retired in #872 and the URL has been returning 404, so this recovers accumulated equity.

Lightly updates the current post's intro and one H2 to capture the dApp development and Web3 developer angles the legacy URL ranked for.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 2, 2026

Review Change Stack

📝 Walkthrough

Walkthrough

This PR clarifies the blockchain indexer blog post introduction to emphasize the transformation of onchain data into structured databases and refocuses the "Why" section heading toward dApp developers. Additionally, permanent URL redirects are configured in Vercel to handle blog slug migrations and documentation route namespace updates for HyperSync, HyperRPC, and HyperIndex products.

Changes

Blog Post Content Update

Layer / File(s) Summary
Blockchain indexer post introduction and audience targeting
blog/2025-01-21-what-is-a-blockchain-indexer.md
Blog post introduction is rewritten to clarify the transformation of scattered onchain data into structured databases, and the "Why" section heading is refocused from general phrasing to dApp-developer-specific targeting.

Redirect Configuration

Layer / File(s) Summary
Permanent redirect rules for blog and docs routes
vercel.json
Permanent redirect rules are added for legacy blog content slugs and documentation paths, including namespace updates (HyperSync, HyperRPC, HyperIndex), pagination route consolidation (/blog/page/:n to /blog), and duplicate path elimination (/blog/blog/:slug to /blog/:slug).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The PR title directly aligns with the primary objective: adding permanent redirects (301) for retired URLs to current equivalents in vercel.json, plus a light content update to the current post.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Jordy-Baby Jordy-Baby requested a review from keenbeen32 June 2, 2026 18:38
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
envio-docs Ready Ready Preview, Comment Jun 2, 2026 8:11pm

Request Review

Recovers link equity from 4xx URLs flagged by MOZ. All new entries are
permanent (308) redirects in vercel.json; matches the existing pattern.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@Jordy-Baby Jordy-Baby changed the title seo: 301 retired blockchain indexer URL to current post seo: 301 retired URLs to current equivalents Jun 2, 2026
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@vercel.json`:
- Around line 41-50: The PR currently claims a "301 redirect" but the
vercel.json redirect entries (the objects with "source":
"/blog/what-is-a-blockchain-indexer-for-dapp-development" /
"/blog/what-is-a-blockchain-indexer-for-dapp-development.md" and "destination":
"/blog/what-is-a-blockchain-indexer" / "/blog/what-is-a-blockchain-indexer.md"
using "permanent": true) produce HTTP 308 responses; update the PR title and
description to state "308 Permanent Redirect" to match the implementation, or if
you truly require a 301 change the implementation to use Edge Middleware/a
custom response that issues a 301 instead of relying on vercel.json's
"permanent": true.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: dd79837d-7064-41c5-9bd0-addd4964acc8

📥 Commits

Reviewing files that changed from the base of the PR and between 74139ba and 0dc5ef1.

📒 Files selected for processing (2)
  • blog/2025-01-21-what-is-a-blockchain-indexer.md
  • vercel.json

Comment thread vercel.json
@Jordy-Baby Jordy-Baby changed the title seo: 301 retired URLs to current equivalents seo: permanent redirects for retired URLs to current equivalents Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant