Expand my Community achievements bar.

SOLVED

XML Sitemap feature: Adding in x-default and lastmod

Avatar

Level 1

I am wondering if anyone knows if it is possible in the AEM Sitemap feature to add in both:

 

  • x-default hreflang attribute
  • <lastmod> date

I did not see this in the documentation nor either of these represented in the WKND example here:

https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html

 

Thanks in advance!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Dear @TravisYa ,

 

It is possible to implement by adding custom Namespace and/or attributes.

for more details please visit this article [0].

Although, worth visiting this [1] article for better understanding.

 

[0]: https://medium.com/@mayursatav/implement-sitemap-in-aem-with-custom-elements-and-attributes-314512c3...

[1]: https://www.brightspot.com/documentation/brightspot-cms-developer-guide/implementing-sitemaps-for-cu...

 

Hope that helps!

Regards,

Santosh

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Dear @TravisYa ,

 

It is possible to implement by adding custom Namespace and/or attributes.

for more details please visit this article [0].

Although, worth visiting this [1] article for better understanding.

 

[0]: https://medium.com/@mayursatav/implement-sitemap-in-aem-with-custom-elements-and-attributes-314512c3...

[1]: https://www.brightspot.com/documentation/brightspot-cms-developer-guide/implementing-sitemaps-for-cu...

 

Hope that helps!

Regards,

Santosh

Avatar

Level 1

Adding this for those who are trying to add <lastmod> date.

 

Instructions are on this page about 3/4 of the way down:
https://experienceleague.adobe.com/docs/experience-manager-65/managing/managing-further-reference/se...

Screen Shot 2023-11-02 at 9.51.41 AM.png


Avatar

Level 1

And here is the way to get x-default added (why do they make this stuff to hard to find?): 
Go to the link below and see 'Specifying the default language (x-default)' section...
https://www.aem.live/developer/sitemap