The Sitemap SOP
The Sitemap SOP
@SitemapSOP

SOP: hreflang via sitemap (multilingual sites)

Keeps language alternates out of your HTML head and centralized.

Step 1 — Namespace: xmlns:xhtml="http://www.w3.org/1999/xhtml"

Step 2 — For each <url>, add one <xhtml:link rel="alternate" hreflang=".."> for EVERY language version, INCLUDING the page itself (self-reference).

Step 3 — ✅ Reciprocity rule: if A lists B, B must list A. Missing return links void the cluster.

Step 4 — Use ✅ ISO 639-1 language + optional ISO 3166-1 region: en, en-GB, x-default.

Step 5 — ✅ Add one x-default per cluster for unmatched users.

Step 6 — Every alternate URL must be ✅ 200 and indexable.

Definition of done: each cluster is fully reciprocal, self-referencing, has an x-default, and every alternate returns 200 — verified on 10 sampled clusters.
This post was published in the Telegram channel The Sitemap SOP (@SitemapSOP). All its posts are on the channel page.
Open on Telegram

Latest posts in “Tools and infrastructure”

All channels in this category →

реклама в сети

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @AFFtop_connect. Быстрый тест: $20 за канал, $1000 за пакет по сети.