How to resolve resource Not found errors | Community
Skip to main content
vijithavari
April 12, 2021
Solved

How to resolve resource Not found errors

  • April 12, 2021
  • 1 reply
  • 1722 views

I Need to remove all 404 found errors from site.I am checking  in live publisher log in that I can see many not found errors. How can we reslove those errors.

 

Example:


Failed to load resource: the server responded with a status of 404 (Not Found) search.catalog.html:

/content/***/en/resources/search.catalog.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /content/***/en/resources/search.catalog.html not found

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 Asutosh_Jena_

Hi @vijithavari 

By looking into the logs it looks like the request was made with "catalog" as the selector.

If the selector is not valid then it will return 404 which is valid and should not be considered as error.

 

If anyone will make any invalid URL request user will get a 404 response and the same will be logged in the publish instance log. This is a default behavior.

 

Thanks!

1 reply

Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
April 12, 2021

Hi @vijithavari 

By looking into the logs it looks like the request was made with "catalog" as the selector.

If the selector is not valid then it will return 404 which is valid and should not be considered as error.

 

If anyone will make any invalid URL request user will get a 404 response and the same will be logged in the publish instance log. This is a default behavior.

 

Thanks!