fix(web checkout): make /docs/web-checkout the canonical overview#166
fix(web checkout): make /docs/web-checkout the canonical overview#166
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ 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", |
There was a problem hiding this comment.
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)
Reviewed by Cursor Bugbot for commit 0f0abb6. Configure here.
There was a problem hiding this comment.
💡 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", |
There was a problem hiding this comment.
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 👍 / 👎.
Deploying with
|
| 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 |


This makes
/docs/web-checkoutthe canonical web checkout overview by renaming the section page toindex.mdxand updating the section metadata.It updates redirects so legacy overview slugs resolve to
/docs/web-checkoutinstead 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-overviewslug were missed.Overview
Makes
/web-checkoutthe canonical Web Checkout overview by switching the section landing page toindex(and updatingmeta.jsonaccordingly) and updating multiple docs to link to/web-checkoutinstead of/web-checkout/web-checkout-overview.Updates redirect mappings so legacy
web-checkout-overviewand 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.