Skip to content

Fix Pages trailing-slash clean URL 404s#10

Merged
HwangJohn merged 1 commit into
mainfrom
codex/pages-trailing-slash-redirects
Jul 13, 2026
Merged

Fix Pages trailing-slash clean URL 404s#10
HwangJohn merged 1 commit into
mainfrom
codex/pages-trailing-slash-redirects

Conversation

@HwangJohn

Copy link
Copy Markdown
Contributor

Summary

  • Add a post-build step that creates redirect index.html files for clean URL pages.
  • Fix GitHub Pages 404s for trailing-slash paths such as /quickstart/, /status/, and /demo/ while preserving canonical clean URLs without the slash.

Validation

  • npm run check
  • node --check scripts/create-trailing-slash-redirects.mjs
  • Verified generated redirect files for quickstart/, status/, demo/, and runtime-adapters/.

@HwangJohn
HwangJohn requested a review from a team as a code owner July 13, 2026 02:24
@HwangJohn
HwangJohn merged commit 2107652 into main Jul 13, 2026
6 checks passed
@HwangJohn
HwangJohn deleted the codex/pages-trailing-slash-redirects branch July 13, 2026 02:25
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