I'm working on a site where posts are organised by category/year/month/posts.


I've had a request to provide the site category/year/month archives (/%category%/%year%/%monthnum%/) - however I'm getting a conflict with the above permalink structure.

Whilst I can get the initial view working for category/year/month archives, i get 404 errors for any trying to look at other pages in the that archive category/year/month/page/2

I assume this is occurring as the rewrite rule is expecting the %postname% as set as parameter 4 in the custom permalink structure.

Is there a way I can get around this request for archives that follow a similar url to posts?

Or is there an alternative approach to this?

I also have page breaks in posts - example: /%category%/%year%/%monthnum%/%postname%/2


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.