Skip to content

fix(docs): resolved more 404s#7519

Merged
mhartington merged 3 commits intomainfrom
fix/more-404s
Feb 17, 2026
Merged

fix(docs): resolved more 404s#7519
mhartington merged 3 commits intomainfrom
fix/more-404s

Conversation

@aidankmcalister
Copy link
Member

@aidankmcalister aidankmcalister commented Feb 17, 2026

Summary by CodeRabbit

  • Chores
    • Expanded and consolidated documentation URL redirects across guides, ORM, Prisma, Postgres, and Accelerate, adding a large set of new mappings (while preserving existing ones) so legacy or bookmarked links route to current pages automatically.

@vercel
Copy link

vercel bot commented Feb 17, 2026

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

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Feb 17, 2026 9:58pm

Request Review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 17, 2026

Walkthrough

The Vercel configuration (apps/docs/vercel.json) had its redirects array expanded: an existing trailing-entry style mapping was kept and followed by a large set of new redirect entries, adding numerous legacy→current documentation path mappings across guides, ORM, Prisma, Postgres, and related sections. (≤50 words)

Changes

Cohort / File(s) Summary
Vercel Configuration Redirects
apps/docs/vercel.json
Expanded the redirects array by adding many new redirect mappings (legacy doc paths → updated destinations). The original /docs/postgres/integrations/tooling mapping remains and is now followed by the extended list of redirects. All additions are new entries; no mappings were removed.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix(docs): resolved more 404s' directly corresponds to the changeset, which adds 44 new redirect mappings to resolve broken documentation links (404 errors) in vercel.json.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 17, 2026

🍈 Lychee Link Check Report

3660 links: ✅ 2991 OK | 🚫 3 errors | 🔀 0 redirects | 👻 664 excluded

❌ Errors

./apps/docs/content/docs.v6/orm/more/dev-environment/editor-setup.mdx

  • [503] https://fig.io/ | Rejected status code (this depends on your "accept" configuration): Service Unavailable

./apps/docs/content/docs.v6/orm/prisma-client/setup-and-configuration/databases-connections/index.mdx

./apps/docs/content/docs/orm/more/dev-environment/editor-setup.mdx

  • [503] https://fig.io/ | Rejected status code (this depends on your "accept" configuration): Service Unavailable

Full Statistics Table
Status Count
✅ Successful 2991
🔀 Redirected 0
👻 Excluded 664
🚫 Errors 3
⛔ Unsupported 2
⏳ Timeouts 0
❓ Unknown 0

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
apps/docs/vercel.json (1)

892-896: Remove duplicate upgrade-guide redirects to avoid no-op rules.

These sources already exist earlier (Line 171-179), so this block is redundant and will never be hit due to order-based matching. Removing them reduces noise and confusion.

♻️ Suggested cleanup
-    { "source": "/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-3", "destination": "/docs/guides/upgrade-prisma-orm/v3", "permanent": true },
-    { "source": "/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-4", "destination": "/docs/guides/upgrade-prisma-orm/v4", "permanent": true },
-    { "source": "/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-5", "destination": "/docs/guides/upgrade-prisma-orm/v5", "permanent": true },
-    { "source": "/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6", "destination": "/docs/guides/upgrade-prisma-orm/v6", "permanent": true },
-    { "source": "/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-7", "destination": "/docs/guides/upgrade-prisma-orm/v7", "permanent": true },
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/docs/vercel.json` around lines 892 - 896, Remove the redundant redirect
objects in apps/docs/vercel.json that duplicate earlier rules: delete the
entries whose "source" values are
"/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-3",
"/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-4",
"/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-5",
"/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6", and
"/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-7" so the
earlier matching redirects remain authoritative and no-op rules are removed.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@apps/docs/vercel.json`:
- Around line 892-896: Remove the redundant redirect objects in
apps/docs/vercel.json that duplicate earlier rules: delete the entries whose
"source" values are
"/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-3",
"/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-4",
"/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-5",
"/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6", and
"/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-7" so the
earlier matching redirects remain authoritative and no-op rules are removed.

coderabbitai[bot]
coderabbitai bot previously approved these changes Feb 17, 2026
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@apps/docs/vercel.json`:
- Around line 890-933: The redirect list is consolidated correctly but you must
ensure none of the specified destination URLs themselves perform redirects (to
avoid redirect chains); audit each "destination" value in the diff (e.g.,
"/docs/prisma-orm/quickstart/mongodb",
"/docs/orm/reference/prisma-config-reference",
"/docs/guides/integrations/supabase-accelerate",
"/docs/orm/prisma-client/deployment/serverless/deploy-to-vercel", etc.) and
confirm they resolve to terminal pages (HTTP 200) rather than returning 3xx
responses, and if any do redirect, update the corresponding "source" entries to
point to the final canonical URL instead of an intermediate redirect target.

@mhartington mhartington merged commit 70287b5 into main Feb 17, 2026
6 of 10 checks passed
@mhartington mhartington deleted the fix/more-404s branch February 17, 2026 22:06
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

Comments