Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Groovy Script to find the pages with links

Avatar

Community Advisor

Hi Team,

Very new to the groovy.

I wanted to crawl all the pages in the site to get the links. 

Can anyone help me with that script?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

You could use third party tools for same. Check Xenu or similar -

Find broken links on your site with Xenu's Link Sleuth (TM)

Revert in case you still need groovy script..

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

You could use third party tools for same. Check Xenu or similar -

Find broken links on your site with Xenu's Link Sleuth (TM)

Revert in case you still need groovy script..

Avatar

Community Advisor

@Umamaheswari_Yakkala 

I have set up Groovy console in my local and provided step by step to set it up at Groovy scripts in AEM