I have multiple country specific sitemap.xml (/us/en-us.sitemap.xml , /us/es-us.sitemap.xml) which is created using OSGI configuration (com.adobe.acs.commons.wcm.impl.SiteMapServlet).
Now I need a index sitemap at root of the domain (localhost:4502/sitemap.xml) having all the market's sitemap.
Any leads will be helpful how to create this.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @RinkiShahi ,
We have one checkbox in the page properties to generate a sitemap.xml for that page and its descendants. So If sitemap is generated for the (/us/en-us.sitemap.xml , /us/es-us.sitemap.xml) then on root page you can generate one more sitemap which will include all the site pages available for indexing.
For example , generate sitemap checked for we-retail root page. This property is available in advance tab of page properties.
Also, I found the below resource very helpful. Hope it works for you as well. Please take a look.
https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html
Thanks,
Ravi Joshi
Hi @RinkiShahi ,
The ACS sitemap generator is deprecated.
https://adobe-consulting-services.github.io/acs-aem-commons/features/sitemap/index.html
Follow the below thread for similar issue
That article is again creating for country specific , not domain root sitemap.xml
Hi @RinkiShahi ,
This is already accessible on root using "sitemap-index" selector.
----
For instance,
I have enabled sitemap generation in Advanced Properties for US & CA in WKND sites including the root page.
Now when I try to access :
http://localhost:4502/content/wknd.sitemap-index.xml
It yields:
The implementation is done using Apache Sling Sitemap – Sitemap Generator Manager configuration.
Reference : https://aemsimplifiedbynikhil.wordpress.com/2021/12/01/apache-sling-sitemap-for-aem-6-5-11-and-aemaa...
Hope this helps, thanks!
Hi @RinkiShahi ,
We have one checkbox in the page properties to generate a sitemap.xml for that page and its descendants. So If sitemap is generated for the (/us/en-us.sitemap.xml , /us/es-us.sitemap.xml) then on root page you can generate one more sitemap which will include all the site pages available for indexing.
For example , generate sitemap checked for we-retail root page. This property is available in advance tab of page properties.
Also, I found the below resource very helpful. Hope it works for you as well. Please take a look.
https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html
Thanks,
Ravi Joshi
Hello All,
one more question related to this, how can I externalize disallow or allow directives in Robots.txt file. "externalizer.domain" is only working for sitemap directives.
Views
Likes
Replies
Views
Likes
Replies