This PR contributes the configuration of a Sling Mapping using a AEM_DOMAIN_WKND_SITE environment variable. It is activated only for the publish.dev, publish.stage and publish.prod runmode by the configuration of the Resource Resolver Factory pointing to the mappings directory /etc/map.publish.
Additionally a SitemapGenerator configuration was added to run Sitemap generation once a day at midnight. Both homepages us/en and ca/en were marked as sitemap roots. The error pages are configured with a noindex tag to exclude them from the sitemap.
Description
This PR contributes the configuration of a Sling Mapping using a
AEM_DOMAIN_WKND_SITE
environment variable. It is activated only for thepublish.dev
,publish.stage
andpublish.prod
runmode by the configuration of the Resource Resolver Factory pointing to the mappings directory/etc/map.publish
.Additionally a SitemapGenerator configuration was added to run Sitemap generation once a day at midnight. Both homepages
us/en
andca/en
were marked as sitemap roots. The error pages are configured with anoindex
tag to exclude them from the sitemap.Related Issue
292
Motivation and Context
Achieve a 100% SEO score with WKND.
How Has This Been Tested?
Locally, AEMaaCS
Screenshots (if appropriate):
Types of changes
Checklist: