# hreflang

URL: https://xodia.ai/glossary/hreflang
Description: What hreflang is and how Xodia sets it for you: a page per language, hreflang links between the versions and a sitemap that lists every language.
Last updated: 2026-11-10

hreflang is a link attribute that tells search engines which language each version of a page is in and where the other language versions are, so searchers get the one in their language.

How Xodia sets hreflang: with Xodia Languages, every language of a page gets its own address, and each version links all the others with hreflang, in the page and in the sitemap.

Updated November 10, 2026

## What it is

A page in several languages has one address per language. Each version lists every version, itself included, with a link tag that has rel="alternate", the language in hreflang, such as es, and the page's address, and often an x-default for visitors whose language isn't covered. The links must agree both ways, or search engines may ignore them.

The same links can go in the sitemap instead of the page. Either way, hreflang tells search engines that the pages are translations of each other rather than copies, and which one to show to whom.

## In Xodia

Xodia Languages gives every language its own page addresses, its language and direction tags, and hreflang links between the versions, right-to-left languages included. The sitemap lists each page in every language.

The links use the site address in Search engines settings, the same one Languages uses, so they point at the live site.

## Read more

- [Xodia Languages](https://xodia.ai/product/languages)
- [SEO for React sites](https://xodia.ai/product/seo#details)

## Related terms

- [Sitemap A sitemap is a map of a website's pages: for planning, a tree of pages and how they nest; for search engines, an XML file that lists every page a crawler should find.](https://xodia.ai/glossary/sitemap)
- [Canonical URL A canonical URL is the one address a page declares as its main version, with a link rel="canonical" tag, so search engines combine duplicates under it.](https://xodia.ai/glossary/canonical-url)
- [Slug A slug is the last part of a page's address, written in lowercase words joined by hyphens, such as my-first-post in /blog/my-first-post.](https://xodia.ai/glossary/slug)

[See every term in the glossary](https://xodia.ai/glossary)

Glossary
