Check hreflang / international SEO
check_hreflangAudit hreflang annotations to validate BCP-47 language/country codes, catch duplicate/conflicting values, ensure self-referencing and x-default tags, and verify reciprocal return links.
Instructions
Audit a page's hreflang annotations for multi-language or multi-country targeting (e.g. US + Canada): validates BCP-47 values (catching en_US, en-UK and other common mistakes), requires a self-referencing annotation, checks for x-default, flags duplicate/conflicting values and relative hrefs, and verifies agrees. With verify_return_links: true it fetches each alternate and confirms it links back — missing return links are the most common reason Google ignores an otherwise-correct hreflang cluster. A single-language site correctly reports that hreflang is not needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page URL to audit, e.g. https://example.com/ | |
| max_alternates | No | Maximum alternates to fetch when verify_return_links is true (default 10) | |
| verify_return_links | No | Fetch each alternate URL and confirm it points back to this page (reciprocity). Adds one request per alternate — off by default |