AEM Resource Mapping is driving me crazy | Community
Skip to main content
JS_Bournival
New Participant
October 16, 2015
Solved

AEM Resource Mapping is driving me crazy

  • October 16, 2015
  • 3 replies
  • 1455 views

we had this working in 5.6:

{ "jcr:primaryType": "sling:Mapping", "jcr:createdBy": "admin", "jcr:created": "Thu Jun 12 2014 21:19:45 GMT-0400", "sling:match": "55.55.55.55.4503", "sling:internalRedirect": "/content/oursite" }

I would have expected that if we access: http://55.55.55.55:4503/en/home.html

it would redirect me to: http://55.55.55.55:4503/content/oursite/en/home.html

but I get a sad and dry 404.

What is the problem here?

Thank you.

edit: we are running 6.0.0.SP2

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Have you followed all mapping instructions specified here:

http://docs.adobe.com/docs/en/aem/6-0/deploy/configuring/resource-mapping.html

Do you have 1 mapping or many mappings.

3 replies

New Participant
January 6, 2016

Hi,

I ran into similar issue as you did.We have to map the pages so that /content/<site_structure>/en/index.html to /en/index.html.

I have created the node localhost_any and added two properties  sling:match  and sling:internalRedirect

But still I get to see 404 error page. Could you please suggest how you resolved the issue or am'i missing any step in between.I followed the below adobe link for the instruction

https://docs.adobe.com/docs/en/aem/6-0/deploy/configuring/resource-mapping.html

Regards,

Swathi

smacdonald2008
smacdonald2008Accepted solution
New Participant
October 16, 2015

Have you followed all mapping instructions specified here:

http://docs.adobe.com/docs/en/aem/6-0/deploy/configuring/resource-mapping.html

Do you have 1 mapping or many mappings.

Sham_HC
New Participant
October 16, 2015

As per your sample it gets applied only for http://55.55.55.55:4503 & you need specify rest of the things to match with $. Take a look at https://helpx.adobe.com/experience-manager/kb/HowToMapDomains.html