Expand my Community achievements bar.

SOLVED

How to resolve resource Not found errors

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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!

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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!