Check for 404 pages on the Dispatcher | Community
Skip to main content
anelem1760873
Level 4
January 19, 2021
Solved

Check for 404 pages on the Dispatcher

  • January 19, 2021
  • 1 reply
  • 1123 views

Hi There,

 

Is the a way to check for a list pages on the dispatcher that are throwing 404 error message using java.

 

thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by BrianKasingli

@anelem1760873, with the dispatcher module, there's no mechanism for you to find 404 pages. However, if you have nodeJS installed into your machine, you can use a custom nodeJS module tool to check through all your pages and review all 404 pages.
I have posted my solution here in the past, please have a look, https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/find-and-fix-broken-links-in-aem/qaq-p/390654

In my opinion, this tool is very useful.

1 reply

BrianKasingli
Community Advisor and Adobe Champion
BrianKasingliCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
January 19, 2021

@anelem1760873, with the dispatcher module, there's no mechanism for you to find 404 pages. However, if you have nodeJS installed into your machine, you can use a custom nodeJS module tool to check through all your pages and review all 404 pages.
I have posted my solution here in the past, please have a look, https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/find-and-fix-broken-links-in-aem/qaq-p/390654

In my opinion, this tool is very useful.

anelem1760873
Level 4
January 19, 2021
@briankasingli Thank you so much Brian, you're legend dude. 🙂