Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to remove all date base archive url permalinks (url_rewrites) from my site, excluding for only 1 category. How can i do that.

For example:

  • www.example.com/category_1/2012/ -> 404 error
  • www.example.com/category_2/2012/ -> 404 error


  • www.example.com/category_3/2012/ -> show category_3 posts from year 2012.

How can I do that?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.