What is an hreflang tag?

Definition

Hreflang is an HTML attribute that tells search engines which language and country each version of a page is for, so the right version appears for each audience.

It matters when you serve the same content to different markets: English for India and the UK, or English and Hindi versions of a page. Without it, the wrong version may rank in the wrong country.

Codes combine language and an optional region, such as en-in, en-gb and hi-in. Each version must list all the others, including itself, and an x-default for everyone else.

Want help with this?Search Engine Optimization (SEO)

Hreflang tag: common questions

Didn't find your answer? Talk to Suresh or send an email.

  • No. It's only needed when you have alternate versions of pages for different languages or countries.

  • No. It helps Google show the right version to the right audience, which improves relevance and click-through.

  • The version shown when no other language or region matches, often your international English page or a language selector.

  • Yes. You can add it in the page head, in HTTP headers or in the XML sitemap. Pick one method and use it consistently.

  • Missing return links, wrong country codes (like en-uk instead of en-gb), and pointing to redirected or noindex pages.

Let's get your brand growing in no time.