Skip to content

All checks / Meta tags

A Next.js page has no title anywhere in its layout chain

Neither this page nor any layout above it sets a title through the Metadata API (a `metadata` export or `generateMetadata`).

Critical nextjs-route-no-title

In SEOCode's checks since 31 Oct 2026


Why this matters.

Neither this page nor any layout above it sets a title through the Metadata API (a `metadata` export or `generateMetadata`). Next.js will render the page without a <title>, so Google writes its own headline for it.

Runs on .jsx .tsx · Critical checks fail the pull request status, so the change cannot merge until it is fixed.


How to resolve it.

Export `metadata = { title: "..." }` or `generateMetadata()` from this page, or set a default title in the root layout (`title: { default: "Site name", template: "%s | Site name" }`).

SEOCode writes this fix for you

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.


Where this comes from.

01

Metadata

nextjs.org

02

Title Link

developers.google.com

Using a framework? Next.js



Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

Free for public repositories · no credit card