New Zenner
- Join Date:
- Mar 2018
- Posts:
- 17
- Plugin Contributions:
- 0
Removing noindex nofollow from category pages with no subcategories or products
Hi, all. I feel I have exhausted the forums for help on this matter to no avail. I have come to realize that categories with no subcategories or products in them generate pages with "noindex, nofollow," which is undesirable. As soon as I add a product to an empty category and view the resulting page, the "noindex, nofollow" is gone. Question is what can I do to NOT have "noindex, nofollow" added to categories that do not contain products. Just because a category does not contain products doesn't necessarily mean I do not want search engines to index them. There is still content on many of the pages I would like Google to index regardless of whether or not products are available within said category. Does this make sense? Is it expected behavior?
I should also mention that I've looked at the code inside all of the files that control whether or not "noindex, nofollow" is added to a page (based on so many previous, helpful posts here) but can't figure out what code I need to affect to have "empty" category pages not have "noindex, nofollow."
Apologies if this concern has been answered already but I feel like I read every single post on this matter today.
Thanks!