Custom 404 error page is not found if "Enforce Version Presence" is enabled


Description

Layout not found page might appear instead of the custom 404 page. The issue occurs when the "Enforce Version Presence" feature is enabled and the URL refers to the non-existing language version. It affects SXA sites.

Solution

To resolve the issue, consider the following options: