Sling mapping for multi website | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
TarunKumar
TarunKumarAccepted solution
New Participant
Dec 20, 2022 1:16 PM UTC

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.

2 replies

Mani_kumar_
New Participant
Dec 20, 2022 1:33 PM UTC

Hi @lavishranosys 

Please find the below url for details on mapping, it explains different ways to do it.

https://experienceleague.adobe.com/docs/experience-manager-64/deploying/configuring/resource-mapping.html?lang=en

Translate
TarunKumar
TarunKumarAccepted solution
New Participant
Dec 20, 2022 1:16 PM UTC

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.

Translate