-
Hello , I use WPML & Rank Math,
Actually I can see the recomendation of google search central that say the sitemap has to be like that :
<url>
<loc>https://www.example.com/english/page.html</loc>
<xhtml:link
rel="alternate"
hreflang="de"
href="https://www.example.de/deutsch/page.html"/>
<xhtml:link
rel="alternate"
hreflang="de-ch"
href="https://www.example.de/schweiz-deutsch/page.html"/>
</url>I read this part on your blog : https://rankmath.com/kb/multilingual-seo-wpml/#sitemaps
But I want to have a proper sitemap to strengthen the understanding of the robot, and actually the rankmath sitemap just look like this :
<url>
<loc>https://www.example.com/english/page.html</loc>
<lastmod>2022-08-02T13:57:29+00:00</lastmod>
</url>
<url>
<loc>https://www.example.de/deutsch/page.html</loc>
<lastmod>2022-08-02T13:57:29+00:00</lastmod>
</url>
<url>
<loc>https://www.example.de/schweiz-deutsch/page.html</loc>
<lastmod>2022-08-02T13:57:28+00:00</lastmod>
</url>No hreflang iso no rel=”alternate” .
How to have this on my sitemap?
Thanks
The ticket ‘Sitemap multi lingual with rank math / Wpml’ is closed to new replies.