Page title is too long in Next.js
Google truncates the visible title in search results at roughly 60 characters (about 600 pixels), so anything past that is replaced with an ellipsis. A long, keyword-stuffed title buries your call to action where nobody sees it. Auto-generated titles that append the full site name and section path overflow this budget constantly.
Symptoms
How VibeCheck catches it
In your widget · Problems
Page title is too long
To your coding agent · MCP
agent › get_detected_issues
→ { detector: "seo", issue: "Page title is too long", threshold: "<title> longer than 60 characters (TITLE_MAX)" }
The same string in your widget and in your agent’s context — no screenshot, no copy-paste.
Root causes
The fix for Next.js
Use a title template in the root layout so each page only supplies the short, unique part and the brand suffix is added once.
export const metadata: Metadata = {
title: {
template: '%s — Acme',
default: 'Acme',
},
}
// app/pricing/page.tsx → title: 'Pricing' renders "Pricing — Acme"Steps
- Count the characters in your rendered title
- Cut section/tagline noise and front-load the topic keywords
- Re-check that it renders under 60 characters
FAQ
- What is the exact title length limit?
- Google renders titles by pixel width (~600px), which is about 60 characters for average text. VibeCheck flags anything over 60 characters.
- Does a long title hurt ranking or just display?
- Mostly display — the truncated part still counts a little, but the practical harm is a weaker, cut-off headline that lowers click-through. Keep it readable.