Fix all broken URL redirects#2950
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
himanshuchawla009
approved these changes
Jun 8, 2026
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.
Multiple URLs were breaking due to the trailing slash issue in the docs. Fixing that plus adding cursor rule so that this never happens again.
Note
Medium Risk
Wide changes to production URL routing for docs; incorrect rules could break bookmarks or external links, though the edits follow documented Vercel normalization behavior.
Overview
Aligns
vercel.jsonredirects with Vercel’strailingSlash: truebehavior so legacy URLs stop 404ing after normalization.Redirect rules now use slash-terminated
sourceanddestinationfor normal doc paths, drop redundant no-slash duplicate sources (e.g./whats-newvs/whats-new/), and fix capture-group destinations (wallet RPC aliases, Services section defaults, Embedded Wallets camelCase SDK URLs, migration guides, Agent Wallet quickstart).Adds
.cursor/rules/vercel-redirects.mdcdocumenting the platform behavior, good/bad examples, andcurlverification.contributor-workflow.mdcnow points contributors at those rules when adding redirects.Reviewed by Cursor Bugbot for commit 03ff93b. Bugbot is set up for automated code reviews on this repo. Configure here.