Hi,
I noticed that all paths in the sitemap with language specific caracters as e.g. ü, ö, ß, etc. are not transliterated properly. The pathauto provides this as an option, so some clean urls differ from the links in the xmlsitemap.
The attached patch checks if pathauto is enabled and calls pathauto_cleanstring() if this is the case (only 5 lines of code in in xmlsitemap_url()).
I would be glad if you would decide to implement this.
Thanks,
Oliver

CommentFileSizeAuthor
xmlsitemap_transliteration.patch901 bytesolio

Comments

dave reid’s picture

Status: Patch (to be ported) » Closed (won't fix)

The $alias parameter is loaded directly from the url_alias table. The alias must be cleaned prior to inserting in the database. This patch will cause unnecessary processing on an already expensive operation.