- Issue created by @0xl337
- πΊπ¦Ukraine gilmord πΊπ¦Ukraine
Does it make any sense to implement this?
Sitemap is basically used by bots and crawlers, which typically expect it to be located at /sitemap.xml and you have to point search engines manually if you have sitemap at any other location.
You can check this issue β and the related issues - it contains explanations why this module has the sitemap at /sitemap.xml
If you really-really want it to be at /en - I can suggest that you create a URL alias for /en/sitemap.xml to be alias for /sitemap.xml, optionally you can block access to /sitemap.xml using nginx for example. But do not forget to point the search engines where to look for your sitemap.
Also I do not think this is a bug or it is critical considering the attached Related issue explanations.
- Status changed to Closed: works as designed
about 1 year ago 8:35am 23 September 2023 - π©πͺGermany gbyte Berlin
Thank you @gilmord, you are correct, this module generates multilingual sitemaps out of the box. Each sitemap is multilingual same as the default sitemap. That means your en variant also has links to all languages. Please don't use sitemap variants this way. They're there for structuring content in sitemap, not for defining languages. Please read about Google hreflang sitemaps.