Noindex individual posts by category, then hide category
-
There have been references to pieces of what I want to do in years past, but nothing current I’ve been able to find.
What I’d like to do is:
A. Noindex all individual posts assigned to a particular category created for that purpose; then
B. Hide that category reference from public view (or vice versa).
If I can’t hide it I can always make the category reference obscure and meaningless such as simply a letter or a numeral, but from what I’ve seen in past years I should be able to hide/exclude a category from public view.
I’d like to be able to add these code snippets to my child theme header or functions files if possible.
No, I’m not talking about just noindexing the category taxonomy itself; I already do that. I want instead to use a category as an administrative tool to be able to steer search engines to index/noindex posts depending on whether I have assigned them to my noindex category or not while using my admin category listings to explicitly tell me which ones I’ve noindexed.
Hopefully this isn’t nearly as complicated as I’ve had to make it sound to explain it.
Any code snippet help greatly appreaciated.
- The topic ‘Noindex individual posts by category, then hide category’ is closed to new replies.