Hiya,
Doing some conditionals with a no_results to determine wether or not a 404 appears, it works fine in some occasions, but in others…
site.com/asdf/ triggers the no_results, which is cool!
site.com/page_exists/asdf/ does not trigger the no_results, as it falls back to page_exists.
Is there a way around this problem?
Here’s my code:
{exp:weblog:entries weblog="general-page" limit="1" require_entry="yes"}
{if no_results}
404 logic
{/if}
....
{/exp:weblog:entries}