Skip to content

Fix missing redirects and docs subdomain routing#354

Merged
InlinePizza merged 3 commits intomainfrom
fix-old-docs-redirects
Apr 2, 2026
Merged

Fix missing redirects and docs subdomain routing#354
InlinePizza merged 3 commits intomainfrom
fix-old-docs-redirects

Conversation

@InlinePizza
Copy link
Copy Markdown
Contributor

@InlinePizza InlinePizza commented Apr 2, 2026

Summary

  • Fix docs subdomain catch-all routing: docs.promptless.ai and docs.gopromptless.ai catch-all redirects now send to /docs/:path* instead of /:path*, so bare paths (e.g. docs.promptless.ai/getting-started/welcome) correctly land under /docs/
  • Add changelog redirect for docs subdomains: /changelog/:path* rules run before the catch-all to preserve changelog paths (e.g. docs.promptless.ai/changelog/changelogs/march-2026)
  • Add gopromptless.ai redirect: catch-all redirect to promptless.ai
  • Add missing redirects: webflow-betagit-hub-repos-docs-as-code, git-hub-integrationgithub-integration, jira-integrationatlassian-integration

Updates both vercel.json (edge-level) and src/lib/generated/redirects.json (Astro-level).

Ported from the stale fix-old-docs-redirectrs branch — only the redirect changes, not the slug renames or image optimization (those can follow separately).

🤖 Generated with Claude Code

- Fix docs.promptless.ai and docs.gopromptless.ai catch-all to redirect
  to /docs/:path* instead of /:path* so bare paths land correctly
- Add specific /docs/:path* and /changelogs/:path* rules for both docs
  subdomains before the catch-all
- Add gopromptless.ai catch-all redirect to promptless.ai
- Add missing redirects: webflow-beta, git-hub-integration, jira-integration
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 2, 2026

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

Project Deployment Actions Updated (UTC)
promptless-docs Ready Ready Preview, Comment Apr 2, 2026 6:05pm

Request Review

Old Fern URLs used /changelog/changelogs/:slug, not /changelogs/:slug.
The old Fern site didn't use /docs/ prefixed paths, so these rules
would never be hit. The catch-all handles everything correctly.
@InlinePizza InlinePizza merged commit d3e5f61 into main Apr 2, 2026
4 checks passed
@InlinePizza InlinePizza deleted the fix-old-docs-redirects branch April 2, 2026 18:21
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