Skip to content

fix(web checkout): make /docs/web-checkout the canonical overview#166

Merged
dcrawbuck merged 1 commit intomainfrom
dcrawbuck/web-checkout-404
Apr 13, 2026
Merged

fix(web checkout): make /docs/web-checkout the canonical overview#166
dcrawbuck merged 1 commit intomainfrom
dcrawbuck/web-checkout-404

Conversation

@dcrawbuck
Copy link
Copy Markdown
Collaborator

@dcrawbuck dcrawbuck commented Apr 13, 2026

This makes /docs/web-checkout the canonical web checkout overview by renaming the section page to index.mdx and updating the section metadata.
It updates redirects so legacy overview slugs resolve to /docs/web-checkout instead of the removed nested route.
It also updates existing docs links that still pointed at /web-checkout/web-checkout-overview.

Verification: bun test; bun run build:cf.


Note

Low Risk
Low risk documentation/redirect update; main risk is broken links if any remaining references to the old web-checkout-overview slug were missed.

Overview
Makes /web-checkout the canonical Web Checkout overview by switching the section landing page to index (and updating meta.json accordingly) and updating multiple docs to link to /web-checkout instead of /web-checkout/web-checkout-overview.

Updates redirect mappings so legacy web-checkout-overview and the old dashboard-scoped overview route resolve to /web-checkout, and refreshes a few related references (e.g., dashboard cards and deep-linking guidance) to point at the new canonical URL.

Reviewed by Cursor Bugbot for commit 0f0abb6. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 0f0abb6. Configure here.

// Dashboard / Web Checkout
"web-checkout": "dashboard/web-checkout/web-checkout-overview",
"web-checkout-overview": "dashboard/web-checkout/web-checkout-overview",
"web-checkout-overview": "web-checkout",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Missing redirect for old overview nested URL

High Severity

The file was renamed from web-checkout-overview.mdx to index.mdx, making the old URL /docs/web-checkout/web-checkout-overview a 404. Redirects exist for web-checkout-overview (bare slug) and dashboard/web-checkout/web-checkout-overview, but web-checkout/web-checkout-overview — the most recently canonical path — has no redirect entry. The changelog-entries.json also references this exact URL, so changelog links will break.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 0f0abb6. Configure here.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0f0abb68fa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

// Dashboard / Web Checkout
"web-checkout": "dashboard/web-checkout/web-checkout-overview",
"web-checkout-overview": "dashboard/web-checkout/web-checkout-overview",
"web-checkout-overview": "web-checkout",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Add redirect for removed web checkout overview path

Renaming content/docs/web-checkout/web-checkout-overview.mdx to index.mdx removes the old route at /docs/web-checkout/web-checkout-overview, but this map now only redirects /docs/web-checkout-overview (no folder prefix). As a result, existing bookmarks/external links to the previous canonical page path will 404 instead of forwarding to /docs/web-checkout. Please add an explicit redirect for web-checkout/web-checkout-overview to preserve the old URL.

Useful? React with 👍 / 👎.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
superwall-docs-staging 0f0abb6 Commit Preview URL

Branch Preview URL
Apr 13 2026, 10:34 PM

@dcrawbuck dcrawbuck changed the title Make /docs/web-checkout the canonical overview fix(web checkout): make /docs/web-checkout the canonical overview Apr 13, 2026
@dcrawbuck dcrawbuck merged commit 3fcd102 into main Apr 13, 2026
3 checks passed
@dcrawbuck dcrawbuck deleted the dcrawbuck/web-checkout-404 branch April 13, 2026 23:22
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