SEO Optimization Guide
Metadata Configuration
// app/layout.js
export const metadata = {
title: {
template: '%s - Your Site'
},
description: 'Site description'
}
MDX Frontmatter
---
title: Page Title
description: Page description
keywords: [key1, key2]
---
Best Practices
- Use semantic HTML
- Optimize images
- Create a sitemap
- Configure robots.txt
- Use canonical URLs
See Next.js Integration for implementation details.