Skip to content

fix: redirect Solid 1 paths to v1.solidjs.com - #1721

Open
joedeleeuw wants to merge 1 commit into
solidjs:v2-rebuildfrom
joedeleeuw:fix/redirect-v1-paths
Open

joedeleeuw wants to merge 1 commit into
solidjs:v2-rebuildfrom
joedeleeuw:fix/redirect-v1-paths

Conversation

@joedeleeuw

@joedeleeuw joedeleeuw commented Nov 28, 2026 •

Copy link
Copy Markdown
  • I have read the Contribution guide
  • This PR references an issue (except for typos, broken links, or other minor problems)

Description(required)

Since #1699 old Solid 1 links on docs.solidjs.com 404.

Cloudflare docs merged PR: cloudflare/cloudflare-docs#35714

Adds one redirect to netlify.toml:

  • 2.0 pages stay on docs.solidjs.com
  • everything else 301s to the same path on v1.solidjs.com

The rule isn't forced, so it only runs when no page exists.

Tested with pnpm build + netlify dev:

Paths Result
286 2.0 paths no redirect
268 v1-only paths 301 to v1.solidjs.com
tutorial aliases in _redirects still work
old LEGACY_ROUTES URLs work through v1

URLs on neither site now get the v1 404 page.

netlify dev isn't prod, so worth checking a few on the deploy preview.

Related issues & labels

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify

netlify Bot commented Nov 28, 2026

Copy link
Copy Markdown

👷 Deploy request for solid-docs-v2 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 29ee1f2

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