anchor tags gets remove as soon as i add in a href url

Avatar

Avatar

gavinw66429322

Avatar

gavinw66429322

gavinw66429322

20-10-2020

Hi

I have my local instance of AEM Project Running and I can style my anchor tags all well but as soon as I add a url in my href it remove my link completely and makes the content like plain text 

 

so instead of this <div class="mydiv"><a href="mypage.html">this was the link</a></div> im getting this --  <div class="mydiv"> " this was the link" </div>

 

how do i get this to work correctly on my local instance

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Manjunath_K

Avatar

Manjunath_K

Manjunath_K

20-10-2020

Hi @gavinw66429322 

If Day CQ Link Checker is enabled & configured with "a:href" then anchor links will be removed if anchor link is not starting with "/content" (if its internal url) or "http/https"(if its external url). so, check "Day CQ Link Checker Transformer" configuration & if its enabled then have proper href links instead of "mypage.html" so that valid anchor links will not be removed by Link Checker.

 

link checker.png

 

Hope this helps!

Answers (0)