Hi,
We manage a site created with AEM 6.2 running on Linux Red hat 7.2
We created several redirect pages using the "redirect" property you can set in "Avanced" tab.
So when you click to the menu link for:
https://mysite/content/it/products/product1.html
you are redirected to:
https://mysite/content/it/products/product2.html
Also when you paste https://mysite/content/it/products/product1.html directly on the browser URL you are redirected to
https://mysite/content/it/products/product2.html
We made this kind of redirection also under section:
in this case the redirection works when you click on the link but id doesn' t when you paste the URL. Is there a misconfiguration ? how can we debug this problem ?
Views
Replies
Total Likes
Can you please check when you click on the link is it having an extension to the hyperlink?
Extension helps in Sling Resource Resolution in AEM:- http://www.aemcq5tutorials.com/tutorials/sling-resource-resolution-aem/
Sling resolution of "https://mysite/content/adv" could be different from "https://mysite/content/adv.extension".
Sling Resolution tool:- http://localhost:4502/system/console/jcrresolver
Reference:- URL Mapping and Deep Linking | AEM Tips
Views
Replies
Total Likes
Sorry, but it is not clear to me. I try to explain a little better with some sample URLS
I have a redirect that works fine:
https://mysite/content/main/it/pro/mobile.html
to
https://mysite/content/main/it/pro/service/mobile.html
And one which does not work:
https://mysite/content/main/adv/rent.html
to
https://mysite/content/main/it/pro.html
I used the JCR resolver with all of the pages and there is no difference in resolution between
*/content.html and */content
I am comparing
https://mysite/content/main/adv/rent.html with https://mysite/content/main/adv/rent
for example.
If this is what you mean, may be, it is not the cause of the problem.
Views
Replies
Total Likes