Page missing Head component
What this means
Section titled “What this means”In the Next.js Pages Router, each page component is responsible for its own metadata. A page that does not import and use <Head> from next/head will have no page-specific title or description. If _app.tsx sets a default title, all such pages will share it, which means duplicate titles across your site.
The check reports this for every non-dynamic page that is missing a <Head> usage.
How to fix it
Section titled “How to fix it”Import Head from next/head and add a <title> and <meta name="description"> inside it for every page component.
import Head from 'next/head'
export default function About() { return ( <> <Head> <title>About | Acme</title> <meta name="description" content="Learn about our studio, our approach, and the team behind it." /> <meta property="og:title" content="About | Acme" /> <meta property="og:description" content="Learn about our studio, our approach, and the team behind it." /> </Head> <main> <h1>About</h1> </main> </> )}import Head from 'next/head'
export default function Services() { return ( <> <Head> <title>Services | Acme</title> <meta name="description" content="Architecture, interior design, and project management for residential and commercial clients." /> <meta property="og:title" content="Services | Acme" /> <meta property="og:description" content="Architecture, interior design, and project management for residential and commercial clients." /> </Head> <main> <h1>Services</h1> </main> </> )}Verify the fix
Section titled “Verify the fix”curl -s https://example.com/about | grep -i '<title'Confirm the title is page-specific, not a shared default. Re-run the audit:
npx orino audit .