I’ve taken over development of an EE site and have run across a problem that I’ve never had before, and am not sure of the cause.
If I access an URL via both the template group (“articles”) and template name (“index”), it works:
http://example.com/articles/index/
I see the template, and my {exp:weblog:entries weblog="content_articles"} tag outputs all of my entries.
However if I access a URL without “index”:
http://example.com/articles/
Then I see the correct template (articles/index) however the weblog tag does not output any entries.
I want to be able to access
http://example.com/articles/
http://example.com/articles/an_entries_url_title/
I can fix the problem with dynamic=“off” and url_title=”{segment_2}”, but it didn’t seem like this was the correct way to do it. Shouldn’t dynamic=“on” do this automatically? Is it correct to use dynamic=“off” in this situation? What else could be causing this?