Hreflang tags tell search engines which language or regional version of a page to show. They matter when you have the same content in several languages or for several countries.
When you need it
- English and Hindi versions of pages.
- Separate versions for India, UAE, UK or US visitors.
Single-language sites do not need hreflang.
Example
<link rel="alternate" hreflang="en-in" href="https://example.com/services/">
<link rel="alternate" hreflang="hi-in" href="https://example.com/hi/services/">
<link rel="alternate" hreflang="x-default" href="https://example.com/services/">
Rules
- Each version lists all versions, including itself.
- Tags must be reciprocal.
- Use correct language and region codes.
- Point to canonical URLs.
Common mistakes
- Missing return links.
- Wrong codes, such as “in” for India as a language.
- Hreflang pointing to redirected or noindexed pages.
Check URLs with our URL parser and add head tags with our meta tag generator. Read Hindi and Hinglish SEO.
Want the full picture? This article is part of SEO: the complete guide, our in-depth guide with everything in one place.



