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.

Anyone know how to override noindex on certain categories?

I only want a few of my categories to be index but the rest not, in the All in one SEO plugin I have a setting that says "Use noindex for Categories"

What I was wondering if there was any way of overriding this on some categories but leave it in place for the majority of categories?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

From quick look at code this is getting concatenated into $meta_string variable, that is echoed without passing through any filter and so not easily modifiable.

Likely for more precise control you need to disable this option in plugin and insert tag with your own code.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.