Hi
I'm implementing the following configuration regarding the sitemap and use absolute urls.
https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html?lang=en#abs...
They are showing that you can add it on the /etc/map/https or /etc/map/http depending on your protocol.
These sling mappings are also used to rewrite the links on the page.
If you configure your domain name in the sling mapping that one is used everywhere (DEV, STG, PRD).
In the documentation they only mention that you can target the publish by using the map.publish.
If I follow the same approach as on the config with the runmodes I would have the following structure
/etc
/map
/https
/map.publish
/https
/map.publish.dev
/https
/map.publish.stage
/https
/map.publish.prod
/https
But the sling mappings that are configured over here aren't taken in consideration (the one from the map.publish) is everywhere used
I took a look at the JcrResourceResolverFactoryImpl OSGi config where you can add url Mapping.
But that will only replace it and you still would use the relative paths on the page and sitemap.
Anyone any idea?
Thanks