Skip to content

Fix redirects#2135

Merged
alexandratran merged 1 commit into
mainfrom
fix-links
Jul 3, 2025
Merged

Fix redirects#2135
alexandratran merged 1 commit into
mainfrom
fix-links

Conversation

@alexandratran

Copy link
Copy Markdown
Contributor

Description

Fix/add some redirects identified via the Google Search Console page indexing report.

Checklist

Complete this checklist before merging your PR:

  • If this PR contains a major change to the documentation content, I have added an entry to the top of the "What's new?" page.
  • The proposed changes have been reviewed and approved by a member of the documentation team.

@alexandratran alexandratran requested review from a team as code owners July 3, 2025 00:57
@vercel

vercel Bot commented Jul 3, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
metamask-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 1:01am

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: Quickstart Redirect Fails with Trailing Slash

The change to the /sdk/quickstart redirect rule, which added a trailing slash to :path* in both source and destination patterns, introduces two issues:

  1. The source pattern /sdk/quickstart/:path*/ no longer matches the base path /sdk/quickstart/, preventing its redirection.
  2. The destination pattern /sdk/connect/:path*/ can generate double slashes (e.g., /sdk/connect//) when :path* is empty.

vercel.json#L53-L55

{
"source": "/sdk/quickstart/:path*/",
"destination": "/sdk/connect/:path*/"

Fix in Cursor


Was this report helpful? Give feedback by reacting with 👍 or 👎

@bgravenorst bgravenorst left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@alexandratran alexandratran merged commit 1759244 into main Jul 3, 2025
19 checks passed
@alexandratran alexandratran deleted the fix-links branch July 3, 2025 19:03
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.

2 participants