Skip to content

Glossary

hreflang

Code that tells Google which language or country each version of a page is for, so people get the right one.

Also called: hreflang tags

If your site has the same page in several languages or for several countries (say English and Spanish, or UK and US prices), hreflang links the versions. Each version lists itself and every alternative with a code such as en, es or en-GB, in the page's <head>, in HTTP headers or in your sitemap.

The links must go both ways: if the English page points to the Spanish one but not back, Google may ignore the tags. Add an x-default version for visitors whose language matches none of them.

It doesn't translate anything, and Google says it doesn't use hreflang to detect a page's language, so each version must really be written in its language. Most single-language local businesses don't need it.

Sources

All terms

Be the business AI recommends.

Pick a plan, connect your site and let CiteMagnet fix what's in the way. Cancel any time.