> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# next-missing-route-metadata

> A Next.js App Router page and every layout above it set no metadata title or description.

## What it flags

A Next.js App Router `page` file whose own exports and every `layout` (or legacy `head`) file between it and the `app` directory provide neither `generateMetadata`, a `metadata` object with a `title` or `description`, nor a `<title>` element. Next then serves the route without a `<title>`, and search results show text the search engine picks from the page. A `metadata` value that is not an object literal, such as an imported constant, and a file that re-exports with `export *` count as describing the page. Private folders (`_name`), parallel slots (`@name`), intercepting routes, pages under signed-in or transactional segments such as `dashboard`, `account`, `settings`, `admin`, `login` or `checkout`, pages whose component renders no JSX (a redirect-only page), and pages whose own `metadata` or a layout's marks them noindex (`robots: { index: false }` or `'noindex'`) are skipped.

## How to review or fix

Export `metadata` with a `title` and `description` from the page, or `generateMetadata` for dynamic routes. A `'use client'` page cannot export `metadata`, so add a `layout` next to it that does. To cover a whole section, set `title.template` and a default `description` in its layout or in the root layout. See the [Next.js metadata guide](https://nextjs.org/docs/app/getting-started/metadata-and-og-images).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.