Hreflang for Multilingual Sites: Setup and Checks

Hreflang helps Google identify equivalent pages for different languages or regions. Use it when visitors should land on different versions of the same content, such as English pricing pages for the United States and United Kingdom.
Map equivalent pages first
List the canonical URLs for each locale. Use a language code such as en or fr, with an optional region such as en-GB or fr-CA. Use x-default for a fallback such as a language selector when that makes sense for your site.
Choose one implementation method
Use alternate links in the HTML head, HTTP Link headers, or an XML sitemap. Choose the method your team can maintain consistently. For example, use HTTP headers for localized PDFs if you need to annotate files without an HTML head. Use absolute URLs.
Check links in both directions
For two localized pages, each version should include itself and the other version. If the UK page points to the US page, the US page should point back. Make sure alternate URLs resolve and that canonical tags support the versions you intend Google to consider.
Verify before rolling out
Start with a small group of URLs. Check status codes, redirects, locale values and return links. Review the actual markup or response headers, then repeat after a template change or migration. See Google’s localized-page guidance and our SEO audit verification checklist.
Some recommendations may include affiliate links. Read the disclosure next to each tool and verify current details with its provider.