Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to add noindex on certain category
chrisfebian
New
How to add meta noindex on certain vanilla category?
Is there any addon to make it easier adding meta noindex on one or more vanilla category?
0
Answers
Hi, do you find a way to do that? I want to noindex an entire category too
You would need a small plugin for that. It should also be possible with a custom theme, but I think something like that belongs to a plugin and not a theme...
This method needs to be inside of your plugin class. It checks if the current page belongs to one and only one category (like a discussion would) and afterwards checks if this category is in a list. You would have to customize that list or replace it with a direct comparison "$sender->CategoryID != 7"
The last piece of code adds the noindex meta tag.
Cool @R_J
i will make my own plugin!
You can pimp it up, by making the list of CategoryIDs configurable and upload it 👍️
I will try it
Or you can duplicate/edit your theme template