Expand my Community achievements bar.

Dead image link scanner for websites

Avatar

Level 3

Hi,

 

As a DAM librarian I have been auditing the repository. I have moved hundreds of images to various folders within the DAM. Now it appears that some websites have have missing images in their card component, or generally on the website. I am not a website expert so I can only assume the links are broken. 

 

Question - is there some sort of a scanner or process which can run a check on websites on AEM for missing / dead link images? This would help me restore the images into their original location or fix the issue of missing images on the websites.

 

 

Many thanks

2 Replies

Avatar

Community Advisor

@PovEim 

 

Option-1:

Please refer to a similar discussion on https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/find-and-fix-broken-links-... 

 

It uses a tool to identify broken links https://www.npmjs.com/package/broken-link-checker

 

Option-2:

Use ACS Commons' Broken Link Report. Details here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/use-broken-link-with-acs-c... 

 

 

 


Aanchal Sikka

Avatar

Community Advisor

HI @PovEim 
Yes, You Can Scan for Missing/Broken Image Links in AEM

  • Use AEM’s Built-in Link Checker:
  • Go to the AEM authoring environment, select the page or site, and use the “Link Checker” tool (available in the sidekick/rail or Assets console). It’ll flag broken image links (like 404s) in components like your card component.
  • Run it manually or set it to check periodically for your site.
  • Try a Free External Tool:
  • Use Dead Link Checker (deadlinkchecker.com) or SortSite (powermapper.com). Enter your website URL, and they’ll crawl your site to find missing images or broken links, giving you a report to fix.
  • Fix the Issues:
  • If images were moved, update the links in your website components to point to the new DAM paths (use bulk editing or ask an AEM developer for a script).
  • If images are missing, restore them to their original DAM location (if you have backups) or replace them with new images in the components.

This should work well and save you time. If you need help running the Link Checker or interpreting results, ask your AEM team. Let me know how it goes!


thanks