All checks / Technical
Missing hreflang for multilingual/multiregional pages
For pages that have alternate versions in different languages or for different regions, hreflang tags tell Google which version to serve to which users.
Warning
missing-hreflang
In SEOCode's checks since 9 May 2026
What it checks
Why this matters.
For pages that have alternate versions in different languages or for different regions, hreflang tags tell Google which version to serve to which users. Without hreflang, Google may serve the wrong language version to users, reducing click-through rates and user satisfaction. Key requirements: (1) alternate URLs must be fully-qualified including the transport method (http/https); (2) each language version must list itself and all other language versions, missing return links cause tags to be ignored; (3) if page X links to page Y, page Y must link back to page X, if this bidirectional requirement is not met, hreflang annotations may be ignored or not interpreted correctly; (4) hreflang alternate link elements must not be combined with other attributes that change their meaning; (5) use x-default for a catchall fallback URL for users whose language is not covered; (6) language codes must be in ISO 639-1 format, region codes in ISO 3166-1 Alpha 2 format; (7) hreflang values are case-insensitive, both en-US and en-us are accepted (though uppercase region codes follow ISO 3166-1 Alpha 2 convention).
Runs on .html .jsx .tsx .vue .svelte · Warnings are reported on the pull request but do not block the merge.
The fix
How to resolve it.
Add hreflang link elements inside <head> for each language/region variant: <link rel="alternate" hreflang="en" href="https://yourdomain.com/en/page" /> <link rel="alternate" hreflang="fr" href="https://yourdomain.com/fr/page" /> <link rel="alternate" hreflang="x-default" href="https://yourdomain.com/page" />. Ensure every variant page includes the full set of hreflang links pointing to all variants including itself, and that all links are bidirectional.
SEOCode writes this fix for you
On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.
Sources
Where this comes from.
Technical
Related checks.
Crawling, indexing, rendering and the directives that can take a page out of search.
Missing lang attribute on <html> Critical
The lang attribute on the <html> element tells search engines and screen readers what language the page is in.
Missing viewport meta tag Critical
Without a viewport meta tag, mobile browsers render the page at desktop width, causing poor mobile UX and hurting mobile rankings.
Missing charset declaration Warning
Without a charset declaration, browsers may misinterpret the page encoding, causing garbled text.
Missing canonical tag Warning
Without a canonical tag, search engines may index duplicate versions of your page (e.g., with/without trailing slash, with query params).
noindex directive detected Critical
A meta robots noindex tag was found.
Missing favicon Info
A favicon improves brand recognition in browser tabs and bookmarks.
Catch it before it ships
Every check, on every pull request.
SEOCode runs the full ruleset on each change and comments the fixes inline.
Free for public repositories · no credit card