Dev Helpers

Next.js / Missing routes

Missing guide navigation

Dev Helpers · June 12, 2026

A missing guide page should help readers recover context. Link to the relevant index and keep the missing resource's status accurate.

Worked example

// app/not-found.tsx

import Link from "next/link";

export default function MissingGuideNavigation() {
  return (
    <main>
      <h1>Guide not found</h1>
      <Link href="/guide">Browse all guides</Link>
    </main>
  );
}

Implementation notes

A navigation link on a missing-resource page should point to a known destination. Sending readers back to the same missing URL creates a recovery loop.

Try it yourself

Open a stale guide URL directly, then follow its recovery link.

Open the Next.js example →

Editorial date June 12, 2026 · Published December 6, 2026

Related articles

Free bin volume

Free storage volume depends on consistent dimensions and units. Derive capacity and usage in the same unit before formatting a human-readable summary.

Draft preview indexing

Draft pages need deliberate indexing metadata. An indexing directive controls crawler intent, while access to unpublished material needs a separate permission check.

Party size allocation

Allocating a party into groups is an integer problem. The remainder determines whether another group is needed and how full it will be.