Skip to content

fix(docs): redirect 404ing legacy URLs - #96

Merged
erikzrekz merged 1 commit into
mainfrom
claude/docs-404-redirects
Oct 30, 2026
Merged

erikzrekz merged 1 commit into
mainfrom
claude/docs-404-redirects

Conversation

@claude

@claude claude Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Requested by Eriks Reks · Slack thread

Before: /llms/why-radius.md, /getting-started/claim-and-transact, /quickstart/javascript and /contact return 404 on docs.radiustech.xyz.

After: each redirects (301) to the closest current page, listed in the table below.

How: adds rules to packages/docs/public/_redirects, in a new section at the end of the file. They follow the existing convention of one rule each for the bare path, the trailing-slash path and the .md twin. No existing wildcard rule matches these paths, so ordering is not an issue. /contact has no docs page, so it goes to the Radius contact page that the docs already link to (vocs.config.ts, the Solutions pages).

Old URL New URL Status
/llms/why-radius.md /why-radius.md 301
/llms/why-radius /why-radius 301
/getting-started/claim-and-transact /build/claim-and-transact 301
/getting-started/claim-and-transact.md /build/claim-and-transact.md 301
/quickstart/javascript /build 301
/quickstart/javascript.md /build.md 301
/contact https://www.radiustech.xyz/contact 301

(Trailing-slash variants of each are included in the file.)

Checks run locally: pnpm format:check, pnpm lint. The build-dependent checks (docs:validate, build) could not run in the shallow clone because the release-notes generator needs git tags; CI runs them.


Generated by Claude Code

Add _redirects rules for /llms/why-radius, /getting-started/claim-and-transact,
/quickstart/javascript and /contact, each with trailing-slash and .md variants
where the destination is a docs page.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NvmRjVNcVfkkHUAm2vWkLT
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ No Changeset found

Latest commit: abdaba4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor

@erikzrekz
erikzrekz marked this pull request as ready for review October 30, 2026 00:31
@erikzrekz
erikzrekz merged commit 5137af1 into main Oct 30, 2026
6 checks passed
@erikzrekz
erikzrekz deleted the claude/docs-404-redirects branch October 30, 2026 00:32
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.

2 participants