Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

link checker showing many broken links to www.adobe.com

Avatar

Level 4
1 Accepted Solution

Avatar

Correct answer by
Administrator

Reference post for you:

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

    Consider using Groovy console to crawl over the /content/your_site looking for strings starting with /content.

    Then use resourceResolver to check if the found path exists. Sample script implementing this algorithm can be found here.

    Link:- https://github.com/Citytechinc/cq-groovy-console [Groovy Tool]

    Link:- https://gist.github.com/trekawek/72b3515a6641ca5f4b29 [Groovy Script]

~kautuk



Kautuk Sahni

View solution in original post

2 Replies

Avatar

Level 10

So you have links to Adobe in your content and you follow this: 

https://docs.adobe.com/docs/en/aem/6-2/administer/operations/external-link-checker.html

and you are getting back a report of broken links that do work.

Avatar

Correct answer by
Administrator

Reference post for you:

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

    Consider using Groovy console to crawl over the /content/your_site looking for strings starting with /content.

    Then use resourceResolver to check if the found path exists. Sample script implementing this algorithm can be found here.

    Link:- https://github.com/Citytechinc/cq-groovy-console [Groovy Tool]

    Link:- https://gist.github.com/trekawek/72b3515a6641ca5f4b29 [Groovy Script]

~kautuk



Kautuk Sahni