Missing third languages
LeBenLeBen opened this issue · comments
Benoît Burgener commented
I have a website with 3 languages: english (default), german and french. In the sitemap generated, french pages are missing at the root level.
For example, I can see:
<url>
<loc>http://website.lo/en</loc>
<xhtml:link rel="alternate" hreflang="x-default" href="http://website.lo/en" />
<xhtml:link rel="alternate" hreflang="de-ch.utf8" href="http://website.lo/de" />
<xhtml:link rel="alternate" hreflang="en-us.utf8" href="http://website.lo/en" />
<xhtml:link rel="alternate" hreflang="fr-ch.utf8" href="http://website.lo/fr" />
<lastmod>2019-02-19T10:02:33+00:00</lastmod>
</url>
<url>
<loc>http://website.lo/de</loc>
<xhtml:link rel="alternate" hreflang="x-default" href="http://website.lo/en" />
<xhtml:link rel="alternate" hreflang="de-ch.utf8" href="http://website.lo/de" />
<xhtml:link rel="alternate" hreflang="en-us.utf8" href="http://website.lo/en" />
<xhtml:link rel="alternate" hreflang="fr-ch.utf8" href="http://website.lo/fr" />
<lastmod>2019-02-18T13:10:37+00:00</lastmod>
</url>
But the /fr
equivalent cannot be found which is a bit weird as it is properly added as an alternate to the others. Note that this applies to all the french pages, not just the home. None are included in the sitemap.
Am I doing something wrong? Any idea what's going on? Not sure what information I should provide you to help you debug this so please let me know.
Benoît Burgener commented
@omz13 Thank you, it works fine now.