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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Groovy Script to find the pages with links

umamaheswariy46
Level 5
Level 5

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
Gaurav-Behl
Correct answer by
Community Advisor
Community Advisor

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
Gaurav-Behl
Correct answer by
Community Advisor
Community Advisor

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

Nikhil-Kumar
Community Advisor
Community Advisor

@umamaheswariy46 

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