Hreflang tags are present and structurally valid for multilingual sites
Why it matters
Multilingual sites without hreflang tags serve the wrong language to the wrong audience: French users see the English page in search results, bounce rates spike, and Google interprets the engagement signal as a quality problem. Missing x-default means Google has no fallback for locales outside your declared set, so international queries return nothing. Relative URLs in hreflang are ignored entirely by crawlers.
Severity rationale
Medium because impact scales with international traffic and only affects multilingual deployments.
Remediation
In generateMetadata, set alternates.languages with an entry per supported locale plus an x-default pointing to your primary language. Use absolute HTTPS URLs and valid BCP-47 codes (en, fr-CA, not english). Verify the set is bidirectional — every localized page must reference every other locale.
// app/[locale]/layout.tsx
export const metadata = { alternates: { languages: { en: 'https://yoursite.com/en', fr: 'https://yoursite.com/fr', 'x-default': 'https://yoursite.com' } } }
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Marketing SEO Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
Taxons
History
- 2026-04-18·v1.0.0·Initial import from marketing-advanced-seo·automated