Hi There,
We are facing issue in url shorting(sling mapping) for multiwebsite (http://localhost:4503/content/constellar/language-masters/en/home.html, http://localhost:4503/content/singaporexpo/language-masters/en/home.html).
Can anyone please suggest how can we acheive this.
Thanks in Advance
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @lavishranosys
Please try to do it through Apache Sling resource resolver configuration. There you can update the URL mapping attribute to the desired incoming and outgoing path.
Another way is through etc/ map, where you can follow below steps:
1. Create a http (sling:Folder) under /etc/map.
2. Now create a node(sling:Mapping) under /etc/map/http.
3. Create two properties i.e. sling:Match and sling:InternalRedirect.
sling:match : This is the string pattern that we will match with the requested URI.
sling:internalRedirect : This is the string pattern where we want to target or redirect the requested URI.
Hi @lavishranosys
Please try to do it through Apache Sling resource resolver configuration. There you can update the URL mapping attribute to the desired incoming and outgoing path.
Another way is through etc/ map, where you can follow below steps:
1. Create a http (sling:Folder) under /etc/map.
2. Now create a node(sling:Mapping) under /etc/map/http.
3. Create two properties i.e. sling:Match and sling:InternalRedirect.
sling:match : This is the string pattern that we will match with the requested URI.
sling:internalRedirect : This is the string pattern where we want to target or redirect the requested URI.
Please find the below url for details on mapping, it explains different ways to do it.
Views
Likes
Replies
Views
Likes
Replies