Put the same set of hreflang links in the HTML head of both translated pages. Use absolute URLs and include each page’s own language entry. If the English page points to the French page, the French page should point back to the English one.
On this page
If a museum publishes the same visit information in English and French, put an hreflang link for each version in the head of both pages. Each page lists itself and the other version. A link only from English to French leaves the pair incomplete.
Map equivalent pages before adding tags
Start with one visitor task. In this fictional museum, both versions explain how to plan a visit. An English visit page and a French museum homepage serve different tasks, even though they belong to the same site.
| Language code | Page URL | What visitors find |
|---|---|---|
en |
https://museum.example/en/visit |
Visit information in English |
fr |
https://museum.example/fr/visite |
Visit information in French |
Use language codes that fit the audience. Here en and fr cover the two translations. Start with the language. Add a supported region when the version targets that market, as in en-CA for English in Canada. A visitor should also have a visible language link to the equivalent page. The internal linking guide shows how to label and check reader-facing links.
Put the same alternate set on both pages
Add this block to the HTML head of both fictional visit pages. Each destination is an absolute URL.
<link rel="alternate" hreflang="en" href="https://museum.example/en/visit">
<link rel="alternate" hreflang="fr" href="https://museum.example/fr/visite">
On the English page, the English entry is the self reference and the French entry is the alternate. The roles reverse on the French page. An optional x-default can point to a fallback for languages or regions you have not listed, such as a language chooser.
A canonical tag answers a separate question about the preferred URL. In this example each translation is intended to be indexed and has its own canonical. Check that a shared template has not copied the English canonical to the French page. Use the canonical tag guide when several URLs show equivalent content in the same language.
Check a missing return link
Suppose the English page contains both lines but the French page contains only its French self reference. Open the French page’s published HTML head and look for the missing English entry. Restore that entry in the French output, then verify both versions after deploying the fix. Google requires the two pages to acknowledge each other for that pair to work.
- Open each URL directly and confirm it returns the expected language and visit information. Watch for redirects to the home page or another language. Google identifies the language from visible content, so read the translated page as part of the check.
- Inspect the live head on each page. Compare the language codes and full destination URLs with your map.
- Check that each page has a self entry and each alternate links back. Confirm the canonical on each page points where you intended.
- Use the visible language switcher on both pages. It should take a visitor to the matching visit page in the other language.
Keep the URL map with the translations. When a URL moves or a new translation is added, recheck the other pages in the set as well as the changed page. These checks verify the published relationships. Search engines still decide which result to show.
Sources & further reading
Primary references checked Nov 17, 2026. Platform guidance can change.
AI-assisted research and writing. Learn about our editorial standards.
Suggest a correction ↗



