Hi,
I currently have my channels / templates set up for a blog, so that I have the following working urls (lists posts):
http://example.com/posts
http://example.com/posts/category/a-category
http://example.com/posts/2011/
http://example.com/posts/2011/02
http://example.com/posts/2011/02/01
These all work fine using the ‘index’ template with all the filtering working nicely out of the box.
What I’m struggling to do is get the single post page working (different template called ‘post’). Currently I have it working at:
http://example.com/posts/post/a-blog-post-title
What I’d like to do is change it so this is the url:
http://example.com/posts/2011/02/a-blog-post-title
or,
http://example.com/posts/2011/02/01/a-blog-post-title
Is there a way to do this by configuring something or will I need to pop some code in to use the different segments? I’m fine doing it either way, I was just worried I’m about to start reinventing the wheel and there is a simple way to achieve this.
Thanks in advance,
Steve