Hello,
my default template group is “blog” and there i have an “index” which lists all blog posts and “article” which display only a single blog entry:
/blog/article/life-sucks
Now, if i remove the “life-sucks” in the url, EE again lists all blog entries because i didnt set the entry limit to 1. But i would like some kind of error message or a redirect.
Also, i read Google SEO tips and Google says the page should be build in a way, a user can delete any “segment” in the url and gets a functional page. But as mentioned above the page /blog/article is a dead end. Either it lists all blog entries which /blog/index already does or it will display an error.
I guess the only method which will work is to make heavy use of conditionals in the index file to to get something like that, where the overview and single entry page have different layouts:
/blog/index => all entries
/blog/index/life-sucks => single entry
Maybe someone has some nice ideas and my questions is not too confusing 😊
Tobias