


Hi,
We are using the OOTB sitemap scheduler generation, and it's working as per the adobe tutorial, only problem is that our SEO team wants absolute URLs instead of the relative ones that we are getting:
https://mysite.net/content/mysite/mypage.sitemap.xml
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @SamFlyn
You would have to implement the shortening of URL to remove the /content from the sitemap generation. This can be handle by the following ways:-
1. Using sling mapping by setting node definition under /etc/map/https
2. Using sling resource resolver rules. Using the web console (for example, localhost:4502/system/console/configMgr) you can configure the Sling Resource Resolver:
Apache Sling Resource Resolver Factory
(org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl).
Here are the some links that you can follow to implement the shortening of URL in the sitemap.
https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html?lang=en
https://blog.3sharecorp.com/shortening-urls-in-aem
Hope this helps.
Hi @SamFlyn
You would have to implement the shortening of URL to remove the /content from the sitemap generation. This can be handle by the following ways:-
1. Using sling mapping by setting node definition under /etc/map/https
2. Using sling resource resolver rules. Using the web console (for example, localhost:4502/system/console/configMgr) you can configure the Sling Resource Resolver:
Apache Sling Resource Resolver Factory
(org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl).
Here are the some links that you can follow to implement the shortening of URL in the sitemap.
https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html?lang=en
https://blog.3sharecorp.com/shortening-urls-in-aem
Hope this helps.
you can add the domains in the Link externalizer(https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/externalizer.html?...) and useApache Sling Resource Resolver Factory to remove /content part
or you have to extend the implementation like
Views
Replies
Total Likes