Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM linkchecker

Avatar

Avatar
Validate 50
Level 4
Dinu_Arya
Level 4

Likes

38 likes

Total Posts

181 posts

Correct Reply

16 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Ignite 5
View profile

Avatar
Validate 50
Level 4
Dinu_Arya
Level 4

Likes

38 likes

Total Posts

181 posts

Correct Reply

16 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Ignite 5
View profile
Dinu_Arya
Level 4

18-07-2019

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

18-07-2019

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.

Answers (0)