Enabling Language Embedding creates duplicates in SXA sitemap


Description

When using the Sitemap.xml file functionality in the SXA module for multi-language sites, enabling the language embedding might result in duplicates in the SXA sitemap.

Solution

To mitigate the issue, consider the following options: