views:

11

answers:

0

Premise: I'm creating a site in WordPress 3.0.

I'm trying to craft a URL with a set of parameters that gets me all posts for a given category in a given month in a given year. This works just fine if I have permalinks turned off:
http://localhost/?category_name=category-slug&year=2010&monthnum=7

But if I have permalinks turned on (which I absolutely must have), it gets redirected to either this:
http://localhost/category/category-slug

or this:
http://localhost/2010/07

depending on the order of the parameters. Unfortunately neither of those is what I want.

I tried setting my permalink structure to this:
/%year%/%monthnum%/%category%/

But that still redirects me to http://localhost/category_name/category-slug instead.

Is there some URL parameter I can pass to disable URL rewriting for that request only? Like... rewrite=false or permalink=false maybe?