If my category URL is:
/blogs/category/foo
and my archive URL is:
/blogs/2011/02/
what’s the URL for ‘foo’ blogs from February 2011?
If my category URL is:
/blogs/category/foo
and my archive URL is:
/blogs/2011/02/
what’s the URL for ‘foo’ blogs from February 2011?
You must be logged in to post a comment.
There is no date-based archive for a category. The
/category/[slug]/
pages are already “archives”, in that they display old posts over different pages.The different pages can be accessed by adding
page/2/
,page/3/
, … to the URL. The template tags to add these links arenext_posts_link()
andprevious_posts_link()
.If you want to add a date-based layer to your category archives, you can add a rewrite rule to match a year, optional month and optional paging.
The URL in the context of your site is:
/blogs/category/foo/?y=2011&monthnum=02
(I blatantly copied this over from a commment t31os, so credits to him for this)