WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

but:

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

How can I do that?

share|improve this question

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.