-
-
Save schatterjee4/337d4f2a7fdfe3c53edc7fbf938d79cb to your computer and use it in GitHub Desktop.
We.Retail Sling Mappings (/etc/map/http)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "jcr:primaryType": "sling:Folder", | |
| "weretail.com": { | |
| "jcr:primaryType": "sling:Mapping", | |
| "sling:internalRedirect": [ | |
| "/content/we-retail/us/en" | |
| ], | |
| "weretail_com_content": { | |
| "jcr:primaryType": "sling:Mapping", | |
| "sling:match": "(.+)$", | |
| "sling:internalRedirect": [ | |
| "/content/we-retail/us/en/$1", | |
| "/$1" | |
| ] | |
| }, | |
| "reverse_mapping_content": { | |
| "jcr:primaryType": "sling:Mapping", | |
| "sling:match": "$1", | |
| "sling:internalRedirect": [ | |
| "/content/we-retail/us/en/(.*).html" | |
| ] | |
| }, | |
| "reverse_mapping_content_nohtml": { | |
| "jcr:primaryType": "sling:Mapping", | |
| "sling:match": "$1", | |
| "sling:internalRedirect": [ | |
| "/content/we-retail/us/en/(.*)" | |
| ] | |
| }, | |
| "reverse_mapping_root": { | |
| "jcr:primaryType": "sling:Mapping", | |
| "sling:match": "$", | |
| "sling:internalRedirect": [ | |
| "/content/we-retail/us/en(.html)?" | |
| ] | |
| } | |
| }, | |
| "weretail_com_root": { | |
| "jcr:primaryType": "sling:Mapping", | |
| "sling:match": "weretail.com$", | |
| "sling:internalRedirect": [ | |
| "/content/we-retail/us/en.html" | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment