Hide posts from a specific category from site XML list
-
Hi!
I’m trying to find someway to exclude posts with with a specified category from the site XML file.
I’ve got an option for frontend postsers to select if they want their post to be searchable or not via a chosen category.
So is there anyway to stop all indexing if the post is in the category donotallowpostb (Slug)
(Automated functions, can’t edit the posts manually to select “no index” )I’ve already configured the “internal” search function, so if a post is in the category donotallowpost it won’t be found on the site, and no links exists, (unless you know the page name), and that’s why I want to restrict the access, so they don’t end up on Google…
Is this possible?
- The topic ‘Hide posts from a specific category from site XML list’ is closed to new replies.