When using a custom 404.php template and if user visits another 404 page such as /non-existent-page, the default 404 page will be served instead of the custom one.
In addition to checking the 404.php template, we should be also checking for the response.
As reported by daopower in our community forums: https://www.wondercms.com/community/viewtopic.php?p=7522#p7522
When using a custom 404.php template and if user visits another 404 page such as /non-existent-page, the default 404 page will be served instead of the custom one.
In addition to checking the 404.php template, we should be also checking for the response.