AEM 6.5.6/Day CQ Linkchecker +Handlebars: a/link tag is getting stripped | Community
Skip to main content
jayv25585659
Level 8
Jul 15, 2021 4:35 AM UTC
Solved

AEM 6.5.6/Day CQ Linkchecker +Handlebars: a/link tag is getting stripped

As above. When I looked at the rendered HTML, the <a> tag is missing completely.

This is my HTML code:

 

 

<h3>{{PRODUCT_CATEGORY}}</h3> <h3><a href="{{PRODUCT_URL}}" x-cq-linkchecker=“valid”>MY LINK HERE</a></h3>

 

 

I looked at the logs and the error is because of the linkchecker service

 

com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl Ignoring malformed URI

 

This should not be a problem (theoretically) because I followed all the 3 suggestions on this page: https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-16563.html?lang=en

  1. I added x-cq-linkchecker=“valid” in my link tag. As a test, I tried "valid" and "skip". I got the same result.
  2. I disabled link checking in Day CQ Link Checker Transformer service
  3. Added ^ to the Link checker override patternsAD

additional info:

  1. localhost:4502/etc/linkchecker.html has no entries/records
  2. Day CQ Link Checker Task/Scheduler Period = 3600 seconds (though I do not this should matter since I supposedly disabled link checking?)


 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Shubham_borole
Shubham_boroleAccepted solution
New Participant
Jul 16, 2021 3:30 PM UTC

Hi,

 

Can you try to update the Link Checked Transformer and check?

Also try to delete the config, reload and save the desired config again?
For me just Checking the "Disable Checking" checkbox helps. AEM 6.5.8

3 replies

Shubham_borole
Shubham_boroleAccepted solution
New Participant
Jul 16, 2021 3:30 PM UTC

Hi,

 

Can you try to update the Link Checked Transformer and check?

Also try to delete the config, reload and save the desired config again?
For me just Checking the "Disable Checking" checkbox helps. AEM 6.5.8

Translate
Dipti_Chauhan
New Participant
Jul 15, 2021 6:17 AM UTC

Hi

  Can you check when link was last validated (/etc/linkchecker.html). And also check link checker service scheduler frequency .May be this link is yet to be scanned.

 

Thanks

Dipti Chauhan

Translate
jayv25585659
Level 8
Jul 15, 2021 6:39 AM UTC
Thank you for the reply. I just edited my original post with additional information.
Translate