I am trying to: post group pages should not show up in a site search for guest
Link to a page where the issue can be seen: hidden link
I expected to see: nothing
Instead, I got: pages that are part of a post group and are not visible to guest are included in the search results and site map. when the link is clicked it goes to a 404 page, but they shouldn't show up in the site search at all. thanks.
Thanks. Well that's like a security company telling me my house is secured like fort knox, but sorry, you'll have to keep your curtains open so the public can see what you got. security yes, privacy no. Or am I missing something? How do I remove posts that are only readable by a post group, from appearing in a site search? even a password protected wordpress page doesn't come up in a search. do I need to password protect all the pages in the group? and sitemaps are in important subject too, whether 3rd party or not, they shouldn't show restricted content, and I consider the post title and link part of the content of the post.
I am afraid that this is not possible using built-in Toolset Access features. But if you want to give it a try with custom solution then please note this requires a custom code or modifications which falls into Custom coding & custom development and it is out of support policy (https://toolset.com/toolset-support-policy/). So we recommend to contact Toolset recommended service providers to further discuss the custom approach. We have some recommended list of service providers here if you would like to take a look: https://toolset.com/consultant/
However you can use the below code to exclude the pages and posts from search results:
>> Also, Access isn't designed to modify the sitemaps generated by SEO plugins, but often you can use those tools on a post-by-post basis to restrict certain posts from showing up in search engine indexes.