I’m on EE 2.4 20120123 working locally.
I have a template group called “site.” In the index template, I have ONE channel entries loop. That looks like this:
{exp:channel:entries channel="pages" limit="1"}
<article>
<h2>{title}</h2>
<p> {page_body}<br />
<br />
</article><br />
{/exp:channel:entries}
Pretty basic, right? Mostly because I’ve stripped everything down to confirm what the heck is going on.
At any rate, since this is the main site’s index template, it means I don’t NEED to add the template group to render an entry. So, my assumption is if I went:
http://domain.com/title-of-entry
It should render the contents of that entry. However, this is not the case. Instead, I get a 404. The only way I can have the entry show up is if I go:
http://domain.com/site/title-of-entry
My understanding is if I use the index template, this should NOT be unnecessary?
I also did some testing: this ONLY happens if I have Strict URLs and/or 404 template. My expectations ONLY work when I have Strict URLs turned off AND no 404 template chosen. I’d rather have the Strict URLs and 404 templates turned on for obvious reasons.
Help?