Check return links between two language pages
Admin ·
A museum publishes an English description of its night tour and a separate Spanish version. The English source points to the Spanish page, but the Spanish source lists only itself. Compare both saved heads to locate the missing return link.
Repair the missing return link in the Spanish head
Select Load museum example and validate both snapshots. The English page has a valid en self-reference. Its es tag points to the supplied Spanish page, where the checker finds a self-reference and no tag back to the English page.
Paste the link below on its own line inside the Spanish head. Validate again. Both source snapshots should show one confirmed return link and the summary should show zero errors.
<link rel="alternate" hreflang="en" href="https://museum.example/en/night-tour">Trace an unverified destination
Remove the Spanish snapshot and validate again. The checker can still verify the English source for placement, language, URL and self-reference. It marks the Spanish destination as unverified because you have removed the source needed to check the reverse link.
Choose the URL that identifies the page in the supplied source, keeping its scheme, path, trailing slash and query intact. A redirect can change the URL that search engines ultimately see. Check HTTP behavior with a saved redirect capture and replace the snapshot if it belongs to a different URL.
Google Search Central guide to localized pages and hreflangWHATWG HTML link element
Check a locale list before making HTML tags
Select Locale-to-URL mappings and load the mapping example. Validate it to find a conflict on line 3. The labels EN and en identify the same language, but point to different destinations. Keep the English tour URL on line 1 and remove line 3.
Add the line below if the museum wants unmatched languages to land on its language selector. Validate again. The list should show three lines with zero errors and zero warnings, and the report should list the fallback URL.
The mapping report checks the list you entered and records its source lines. Use saved HTML snapshots to find self-references and return links. If your site declares alternates in HTTP headers or a sitemap, compare those declarations with the same language and URL pairs.
x-default -> https://museum.example/languagesCommon questions
Do the language pages have to share a domain?
No. Add the full URL and corresponding saved source from each domain. The checker compares links between supplied snapshots on any HTTP or HTTPS host.
What if the correct HTML is generated in my browser?
Take a separate snapshot of the rendered head if you want to check those links. Save the original response too so you can see which tags are present before JavaScript runs.