Expand my Community achievements bar.

Sitemap Out of the box hreflang tag?

Avatar

Level 1

I am looking at the out of the box sitemap generator provided by AEM and have a request to add the hreflang attribute to the sitemap file. I have looked up the documentation on the sitemap generator and found nothing that says hreflang can be generated through the out of the box generator. But, a video that goes over sitemap generation found here: https://experienceleague.adobe.com/en/docs/experience-manager-learn/sites/seo/sitemaps @ 4:35 clearly shows the out of the box generator adding hreflang attribute to the sitemap.

 

Other posts on this forum indicate needing to implement a custom sitemap generator that adds the attribute but this video provided by adobe speaks otherwise. Can I get a defenitive answer on whether or not a custom sitemap generator is needed to add hreflang attribute to AEM's sitemap file? If it can what attributes on a page need to be defined to add that attribute during sitemap generation?

1 Reply

Avatar

Community Advisor

Hi @jordanlongato ,

 

Did you found solution for this problem, If not, try this solution given here. 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/generating-xml-sitemaps-wi... 

Thanks,

Aditya Chabuku