What is occurring is that the template is targeting the last segment in the url, making it possible for multiple paths to exist. How do I disallow segments that don’t exist?
For example: https://www.SITE.com/lasers/main/mephisto-lasers https://www.SITE.com/lasers/main/test/test/mephisto-lasers
test/test does not represent anything. I need to send that to a 404 page.
A combination of segment conditionals and {if no_results}
redirects is best practice. Please see the docs for making 404 pages.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.