next.js
d6acdccf - docs: update redirected links to current targets (#96723)

Commit
13 days ago
docs: update redirected links to current targets (#96723) ## What Updates docs links whose targets have moved. Found by an automated docs link audit: every old URL below currently serves a `308` (permanent redirect), so readers take an extra hop and the links rot as redirect maps are pruned. Each replacement is the **final `200` URL** of the redirect chain (verified with `curl -sIL`), not just the first hop. Only the path component was rewritten — scheme, host, query strings (`?utm_source=...`) and fragments are untouched. | Old path | Now points at | | --- | --- | | `vercel.com/docs/concepts/functions/edge-functions/og-image-generation` | `/docs/og-image-generation` | | `vercel.com/docs/frameworks/nextjs` | `/docs/frameworks/full-stack/nextjs` | | `vercel.com/docs/observability/otel-overview` | `/docs/tracing/instrumentation` | | `vercel.com/docs/concepts/observability/otel-overview/quickstart` | `/docs/tracing/instrumentation` | | `vercel.com/docs/edge-config/get-started` | `/docs/global-config/get-started` | | `vercel.com/docs/functions/vercel-functions-package` | `/docs/functions/functions-api-reference/vercel-functions-package` | | `vercel.com/docs/edge-network/overview` | `/docs/cdn` | | `vercel.com/docs/storage/vercel-blob` (×4) | `/docs/vercel-blob` | | `vercel.com/docs/storage/vercel-blob/server-upload` | `/docs/vercel-blob/server-upload` | | `vercel.com/docs/storage/vercel-blob/client-upload` | `/docs/vercel-blob/client-upload` | | `vercel.com/docs/concepts/image-optimization` | `/docs/image-optimization` | | `nextjs.org/docs/app/building-your-application/rendering` | `/docs/app/getting-started/caching` | The four Pages Router pages flagged by the audit (`deploying`, `guides/instrumentation`, `guides/open-telemetry`, `guides/redirecting`) share their source with the App Router versions via frontmatter `source:`, so fixing the App Router files covers them. ## One link worth a reviewer's eye In `use-client.mdx`, the client-server **boundary** link pointed at `/docs/app/building-your-application/rendering#network-boundary`. That path 308s to `/docs/app/getting-started/caching`, which is what this PR uses — but the redirect target is topically unrelated to the client-server boundary, and no `#network-boundary` heading exists on it (or anywhere else in `docs/`). If you'd prefer, `/docs/app/getting-started/server-and-client-components` is the closer page and I'm happy to switch it (the anchor would have to be dropped either way). ## Also checked: `viewTransition` The `next-config-js` reference index on nextjs.org still lists an entry linking to `/docs/app/api-reference/config/next-config-js/viewTransition`, which 404s. No change is needed in this repo: that page was intentionally deleted in 28a9465d4 ("docs: view transitions guide — skill section, source-audit fixes, flag-removal docs", #96097) as the docs half of the `experimental.viewTransition` flag removal (#96098), and the guide now states that view transitions work with no configuration. There is no surviving config option to repoint at, and no link to it remains anywhere in `docs/` or `packages/*/src` on `main` — the stale index entry comes from the nextjs.org versioned (v15) nav manifest, outside this repo. ## Verification - `prettier --check` passes on all changed files. - `alex` (`lint-language`) reports only pre-existing prose warnings on untouched lines. - No `next.js` build was run; this is a docs-only, path-only change. ▲ Created with [Vercel devbox](https://vercel.com/vercel/~/sandboxes/devboxes/1us5zdxyl2nk5ccodexgd9w3f6k2) --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Joseph <sephxd1234@gmail.com> Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com> (cherry picked from commit 5092386ed0ada27793b79054f01f8b0f8ced5906)
Author
Committer
Parents
Loading