All Vulnerabilities/Missing Page Metadata
highseo

Missing Page Metadata

Checks for proper metadata exports in Next.js pages and layouts.

Why This Is Bad

Google has no idea what your website is about, so it won't show up in search results. You're invisible to search engines.

How To Fix

Add the standard Next.js Metadata export to your page or layout:

typescript
// app/page.tsx or app/layout.tsx
import { Metadata } from 'next';

export const metadata: Metadata = {
  title: 'Your Page Title - Your Brand',
  description: 'A compelling description of your page (150-160 characters ideal)',
  keywords: ['keyword1', 'keyword2', 'keyword3'],
};

export default function Page() {
  return <main>...</main>;
}

When You Pass This Check

Great job! Your pages have proper metadata for search engines.

Check If Your Repo Has This Issue

Our free scanner will detect this and 17 other common issues in your codebase.