Leiste mit Community-Erfolgen erweitern.

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

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

AEM linkchecker

Avatar

Level 7

Hi Team,

I'm trying to find out the broken links in my site using com.day.cq.rewriter.linkchecker.LinkInfoStorage.getLinks() but it is giving only returning the external links. I need the internal broken links also. Please let me know how can I find them using any of AEM API. Please let me know how LinkInfoStorage's getLinks() work. Why is it not returning the broken internal links?

Please help me in this.

Thanks,

AryA

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Community Advisor

Hi,

The link checker (com.day.cq.rewriter.linkchecker.LinkInfoStorage.getLinks()) checks the store link status at /var/linkchecker/

for internal links, link should be stored at

/var/linkchecker/http/localhost%3A4502

/var/linkchecker/https/localhost%3A4502

Link status you can check here also:

http://localhost:4502/etc/linkchecker.html

http://localhost:4502/var/linkchecker.list.json?_dc=1563485414669

you can get the staus of links using json also.

Arun Patidar

AEM LinksLinkedIn

Lösung in ursprünglichem Beitrag anzeigen

1 Antwort

Avatar

Korrekte Antwort von
Community Advisor

Hi,

The link checker (com.day.cq.rewriter.linkchecker.LinkInfoStorage.getLinks()) checks the store link status at /var/linkchecker/

for internal links, link should be stored at

/var/linkchecker/http/localhost%3A4502

/var/linkchecker/https/localhost%3A4502

Link status you can check here also:

http://localhost:4502/etc/linkchecker.html

http://localhost:4502/var/linkchecker.list.json?_dc=1563485414669

you can get the staus of links using json also.

Arun Patidar

AEM LinksLinkedIn