Hi ,
Could you please help me regarding the configuration for resource mapping in AEM. Below are the url needs to be configured.
http://localhost.80/content/mysite/home.html and http://localhost.80/mysite/home.html should redirect to the http://localhost.80/content/mysite/home.html. I have done the below configuration and it is impacting the default aem console urls like ( http://localhost:4503/libs/cq/core/content/welcome.html,http://localhost:4503/useradmin,etc..,. )
{
jcr: primaryType: "sling:OrderedFolder",
localhost_any: {
sling:internalRedirect: ["/content/mysite/"],
jcr:primaryType: "sling:Mapping",
sling:match: "localhost.4502/content/mysite/$"
},
localhost.4502: {
sling:internalRedirect: ["/content/mysite"],
jcr:primaryType: "sling:Mapping",
redirect: {
sling:internalRedirect: ["/content/mysite/$1","/$1"],
jcr:primaryType: "sling:Mapping",
sling:match: "(.+)$"
}
},
}
Views
Replies
Total Likes