International SEO
How to use hreflang tags correctly
Plan hreflang tags for language or regional page versions without mixing staging URLs, wrong locales, or non-canonical pages.
Use hreflang only when alternates really exist
Hreflang helps search engines understand equivalent pages for different languages or regions. It is not needed for every site and should not point to unfinished or unrelated pages.
Each alternate should usually be a real canonical page in that language or region.
- Use valid language or locale codes.
- Point to final canonical URLs.
- Include x-default only when it makes sense.
Simple workflow
List each language or regional version, pair it with the final URL, generate the tags, then compare the set with canonicals and sitemap URLs.
Do
- Keep alternate sets complete.
- Use consistent URL versions.
- Review tags after translation or URL changes.
Don't
- Do not point hreflang to staging pages.
- Do not use country codes without language codes.
- Do not tag unrelated pages as alternates.
Hreflang Tag GeneratorGenerate tags from language and URL pairs.Canonical URL CheckerReview the preferred URL for each alternate.Basic Sitemap GeneratorCreate a clean list of final URLs.Redirect planning guideAvoid sending alternates through messy redirects.Sitemap guideKeep sitemap URLs clean and canonical.
FAQs
Do I need hreflang for one-language sites?
Usually no. Hreflang is for alternate language or regional versions of equivalent pages.
Can hreflang fix duplicate content?
No. It helps identify alternates, but pages still need clear canonicals and useful localized content.