hreflang / multilingual consistency check
hreflang_checkVerify hreflang annotations across HTML, HTTP headers, and XML sitemaps, checking reciprocal links, language codes, x-default, and canonical consistency.
Instructions
For a page (or a sitemap sample), read its hreflang alternates from all three places the spec allows - HTML , the HTTP Link: header, and xhtml:link entries in the XML sitemap (used by several WordPress multilingual plugins) - and verify: every alternate URL is reachable, points back (reciprocal) to the source, has a self-referencing entry, uses valid language-region codes, has an x-default, and that canonicals do not contradict the alternates. Also compares with the declared hreflang and says which source each annotation came from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | ||
| sampleSize | No | ||
| sitemapUrl | No | Sitemap to sample pages from when urls[] is omitted; it is always also read for xhtml:link hreflang annotations. |