This is quite a basic question I think, but when viewing a template with entries with the standard entries tag:
{exp:channel:entries channel="mywebsite"}
and if I replace the last segment with arbitrary letters, it will show all entries from that channel, like:
www.somewebsite.com/mytemplategroup/sdjhkkajsd
In a page with regular entries I can avoid this by using entry_id=segment_2
, but this doesn't work when viewing a category with category titles enabled:
http://www.somewebsite.com/mytemplategroup/category_template/category/category_url_title
Replacing category_url_title with "lzdsfuhkhjfdg" shows ALL entries from the channel. I can't prevent this in the entries tag with
{exp:channel:entries channel="mywebsite" category_url_title="segment_4"}
Because that is not supported. So how would you solve this?
Thank you very much!