SEO Audit
Target: $1 (or all pages if not specified)
1. Metadata
grep -rn "title\|description\|metadata\|<head" src/app/ src/pages/ --include="*.tsx" | head -20
For Next.js App Router, check each layout.tsx and page.tsx:
export const metadatadefined?- Title is unique per page (not just app name)?
- Description 120-160 chars?
robotsconfig correct?
2. Open Graph & Twitter Cards
og:title,og:description,og:imageset?og:imageis 1200×630px?- Twitter card type set?
3. Structured Data
- Homepage: Organization/WebSite schema?
- Blog posts: Article schema?
- Products: Product schema?
4. Technical SEO
- Canonical URLs set?
sitemap.xmlexists and is registered?robots.txtnot blocking important paths?- Images have
alttext?
5. Performance (Core Web Vitals)
- Images using
next/imageorloading="lazy"? - Fonts using
font-display: swap?
Generate missing metadata and structured data. Apply on confirmation.