Issue with links and Dispatcher with multiple domains
Hi masters!
I’m configuring a Dispatcher with multiple domains, and I’ve an issue with links. Maybe somebody could help me…
I’ve followed the instructions given in [1]. Please note the method I’ve used is ‘AEM Rewrites Incoming URLs’, not the ‘The Web Server Rewrites Incoming URLs’.
It seems all is working fine. I can access my web pages using the domain name, like:
http://myserver.mydomain/es.html
I’ve also configured the Sling mapping for resource resolution (in /etc/maps, in publish instance), so I can access /etc/designs, /libs, etc.
But my problem is with the links:
- In my author instance, I add a Text Component with a link to other page, like /content/myapp/es/other.html.
- In the publish instance, I can see the link pointing to http://myserver.mydomain/es/other.html (ok, that's fine!).
- But, when I access through the Dispatcher, I can’t see the link. It’s removed.
Any advice? Thank you very much!
[1] https://dev.day.com/docs/en/cq/current/deploying/dispatcher/disp_domains.html#AEM Rewrites Incoming URLs