내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

In AEM6.5 anchor tag removing /content value in href

Avatar

Level 8

Hi,

 

In the slightly code of html I have 

<a href="${'/content/abc/123.html?text=123 @CONTEXT= 'html'}">button</a>

 

I noticed the page renders the anchor tag without /content . This is happening for urls which has ? in the href

 

<a href="${'/abc/123.html?text=123'}">button</a>

 

What could be the issue here .How to resolve it

 

Thanks

 

 

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

@srinivas_chann1 Please add x-cq-linkchecker="valid" parameter in the <a> tag or disable external link checker entirely by going to felix console.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/linkchecker-removing-href-...

원본 게시물의 솔루션 보기

5 답변 개

Avatar

Community Advisor

Hi @srinivas_chann1 

 

You see this issue on both author and publish or any specific instance? Can you check if you have any etc/maps configured to rewrite the URLs which has query string in it?

 

It an issue with the URL shortening. So let's check the etc/maps first.

 

Thanks!

Avatar

Level 8

check /etc/map don't have any such rules there

Avatar

정확한 답변 작성자:
Community Advisor

@srinivas_chann1 Please add x-cq-linkchecker="valid" parameter in the <a> tag or disable external link checker entirely by going to felix console.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/linkchecker-removing-href-...

Avatar

Level 8

added x-cq-linkchecker="skip"  it worked

Avatar

Community Advisor

Hi @srinivas_chann1 ,

                                    It can be possibility due to shortened url  as mentioned @Asutosh_Jena_ .

Can you please try other url  and is there  any logic written in the java for URL validation check that also.

 

Regard,

Sanjay