I have a website where my client can create entries in a couple of different channels.
Lets take a "news" channel. The url would be: "example.com/news/nameofpage"
Whenever a wrong url is entered manually behind "example.com/news/" (or maybe a wrong filled in link) it won't go to the 404 page but just enters the channel's template and display's an empty page. For everything else the 404 error works but whenever a channels slug is in the url as a first segment it only gives an empty template.
EDIT:
I figured out it happens all the time whenever there is a second segment in the url
.htaccess
rewrite rule interfering? Do you have any custom routes defined (in the Craft CP or inconfig/routes.php
)?