sybrew/the-seo-framework

Empty parent categories of populated children should not be flagged with "noindex" as default.

Closed this issue · 1 comments

From korvak's report:

Parent categories inherit their children's posts, whether the user assigns them or not.
So, even "empty" parent categories with a post count of 0 are indexable.

We should consider this a bug in WordPress, too -- it ought not to set "post count" to 0 for those.

This issue also affects the category-(quick-)edit screens, where the default for indexing is set to "noindex" (it should be "index").

The resolution has something to do with pad_counts, which will tell WordPress to count children's posts.