Search engine crawlers rely on XML sitemaps and hreflang annotations to index international websites correctly. Common errors—like broken reciprocal links or mismatched canonical tags—can cause search engines to ignore localized pages completely.
The anatomy of a valid multilingual sitemap entry
Each URL entry in your sitemap must list all alternate language equivalents using the xhtml:link schema:
<url>
<loc>https://example.com/pricing</loc>
<xhtml:link rel="alternate" hreflang="en" href="https://example.com/pricing" />
<xhtml:link rel="alternate" hreflang="es" href="https://example.com/es/pricing" />
<xhtml:link rel="alternate" hreflang="de" href="https://example.com/de/pricing" />
<xhtml:link rel="alternate" hreflang="x-default" href="https://example.com/pricing" />
<lastmod>2026-06-01</lastmod>
<changefreq>daily</changefreq>
</url>
Automated sitemap generation in TranslateBeam TDN
TranslateBeam TDN automatically generates and maintains localized XML sitemaps at /sitemap.xml, keeping alternate URLs, hreflang links, and last-modified dates synchronized as new content publishes.