When the wrong language page turns up in search, make a grid from the tags your site actually serves. List one source URL per row and one language code per column. Copy the alternate addresses from the live source so you can spot a missing link or a stale address.
A three-language example
| Page | Declares it | Declares en | Declares fr |
|---|---|---|---|
| /it/guida/ | /it/guida/ | /en/guide/ | /fr/guide/ |
| /en/guide/ | /it/guida/ | /en/guide/ | /fr/ancien/ → 301 |
| /fr/guide/ | Missing | /en/guide/ | /fr/guide/ |
In this example, French lists English and itself but omits the Italian return link. Add it to the French page. English points to an old French URL that redirects. Update that alternate to the final French address. The repaired rows all list the same set of three final URLs, including their own.
Check the response behind every tag
- Request each alternate and check for a direct HTTP 200. A login gate or a noindex directive can keep a version out of search.
- Inspect the canonical in the source. Each genuine translation should point to its own address. A French page that canonicalises to English sends a conflicting signal.
- Check language codes. Use
enfor English oren-GBif the page is specifically for the UK. Publish absolute URLs and use the same set on every version.
Use the hreflang tag generator to draft the tags. Rebuild the grid after publishing and check any annotations in HTTP headers or XML sitemaps for conflicting URLs. These checks establish what the site declares. Search engines still choose which URL to show.
