System Administrator Jahia 7.3 Jahia 8 Legacy

Common reasons for getting 404 errors

Question

Error 404 or page not found error often occurs when there is an issue with finding the requested resource. Here are some of the common reasons and solutions for the 404 errors

Answer

Cache issues

A caching issue may cause 404 errors. To resolve it, try clearing the cache and see if that helps. On a cluster environment, try to clear the cache on all nodes.

URL rewrite and proxy configuration

Having incorrect rewrite rules or proxy configuration is another common cause of 404 errors. You may need to check your re-write rules and proxy configuration to make sure that this is not the case.

Incorrect URLs:

If the URLs come from a custom module or a JSP page, ensure that they are generated correctly. The recommended way to include URLs is to use <c:url> tag. 


If none of the above helps to narrow down the issue, try looking at the logs to find out more on what could be the root cause. This could be caused by a wide range of issues such as using the wrong