Hi Everyone,
I have added some more custom rewrite element entries[highlighted one in snap] apart from OOTB entries in CQ Link Checker Transformer Configuration. However it's not working which is working only for OOTB entry i.e a:href, img:src.
Also If I add custom entries for anchor tag like a:id, a:data-test then it's working. I have refered all the related references in community & outside sources but nothing helped me. Can you people help me on this? Thanks in advance.
CC: @arunpatidar @aanchalsikka @Imran__Khan @BrianKasingli
Solved! Go to Solution.
Views
Replies
Total Likes
hi @Jerome_Lesly_v ,
you can try custom rewriter to ahieve this ask. Please refer to the articles below who faced similar issues and step by step process to implement custom rewriter
https://aem4beginner.blogspot.com/rewrite-adobe-cq-image-src-attribute
https://wttech.blog/blog/2019/how-to-use-sling-transformers-in-aem/
We are also facing the same issue, any help would be much appreciated !!
Views
Replies
Total Likes
Could you please check : https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/link-rewriting-not-working...
Try disabling checking
Did you tried with custom Link rewriter
https://medium.com/@toimrank/link-checker-and-transformer-381d4f245d12
hi @Jerome_Lesly_v ,
you can try custom rewriter to ahieve this ask. Please refer to the articles below who faced similar issues and step by step process to implement custom rewriter
https://aem4beginner.blogspot.com/rewrite-adobe-cq-image-src-attribute
https://wttech.blog/blog/2019/how-to-use-sling-transformers-in-aem/
Hi @Jerome_Lesly_v I tried checking this on my local and I observed the same behaviour. I tried digging into OOB code and it seems it only checks for <a> and <area> tags only.
I didn't check it in detail but this seems rather strange as I also couldn't find any documentation mentioning this. But depending on your use case if you want to just map your URLs then you can look into this https://adobe-consulting-services.github.io/acs-aem-commons/features/utils-and-apis/resource-resolve... otherwise creating a custom transformer would be the possible option.
Hope this helps
@Jerome_Lesly_v Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies