-
Hi, in the sitemaps.xml (generated by the Rank Math plugin) the url to the different home pages of each language indicated as follows:
url for homepage IT = https: //example.est/
url for homepage EN = https: //example.est/en/home/
url for homepage ES = https: //example.est/es/home/Instead on the pages of the site, the language selectors (for translations I use the WPML plugin) show these links:
link for homepage IT = https: //example.est/
link for homepage EN = https: //example.est/en/
link for homepage ES = https: //example.est/es/The consequence of this is that Google search console reports me errors for “Duplicate and sent URL not selected as canonical”.
I ask, how can I make the sitemaps urls match the menu links?
NB: in sitemaps.xml at the moment there are NO url identical to the links So I can’t just tell Rank Math to exclude the url
https: //example.est/en/home/
because then I would not have any url pointing to the homepage in English.
Maybe I should replace it with the following url, but I don’t know how to do with rank math:
https: //example.est/en/
Thanks to those who can help me
The ticket ‘Google Search Console reports me errors in sitemaps.xml’ is closed to new replies.