Skip to content

Docs: Revert "Add canonical tags and enforce no trailing slashes"#7105

Merged
JonnyBurger merged 1 commit intomainfrom
cursor/fec1f96b
Apr 20, 2026
Merged

Docs: Revert "Add canonical tags and enforce no trailing slashes"#7105
JonnyBurger merged 1 commit intomainfrom
cursor/fec1f96b

Conversation

@JonnyBurger
Copy link
Copy Markdown
Member

Summary

Why it broke

The trailingSlash: false Docusaurus config setting changes the build output format from page/index.html (directory-based) to page.html (file-based). On Vercel, the existing routing expected directory-based output, so pages became unreachable — resulting in 404 errors for visitors.

Even though cleanUrls: true was added to the Vercel config to compensate, it wasn't sufficient to handle all existing URL patterns, particularly those without .html extensions that relied on the index.html convention.

Made with Cursor

…)"

This reverts commit 5c89b02.

The `trailingSlash: false` Docusaurus setting changes the build output
from `page/index.html` to `page.html`, which broke existing URL routing
on Vercel, causing 404 Page Not Found errors on the docs site.

Reopens #7076.

Made-with: Cursor
@pullfrog
Copy link
Copy Markdown
Contributor

pullfrog Bot commented Apr 20, 2026

Reviewed PR #7105 — approved. Clean exact revert of #7086 with no issues found.

Pullfrog  | View workflow run | via Pullfrog | Using Claude Opus𝕏

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 20, 2026

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

Project Deployment Actions Updated (UTC)
bugs Ready Ready Preview, Comment Apr 20, 2026 3:28pm
remotion Ready Ready Preview, Comment Apr 20, 2026 3:28pm

Request Review

Copy link
Copy Markdown
Contributor

@pullfrog pullfrog Bot left a comment

Choose a reason for hiding this comment

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

Reviewed — no issues found. Clean exact revert of #7086 (3 lines removed across 2 files). The rollback rationale is sound — trailingSlash: false changes Docusaurus build output from page/index.html to page.html, which broke Vercel routing.

Pullfrog  | View workflow run | Using Claude Opus𝕏

@JonnyBurger JonnyBurger merged commit 63631f9 into main Apr 20, 2026
17 checks passed
@JonnyBurger JonnyBurger deleted the cursor/fec1f96b branch April 20, 2026 15:36
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