A site I’m working with has a handful of “protected” posts (password required to view). For various reasons, we don’t want to show these in search results. While there is no excerpt shown, I’d prefer for people to not even know they exist. Relevanssi sees protected posts as public posts……(because their post status is publish, not private like with private posts). That’s what they are, as, in general, users will be able to see protected posts. Just not their content unless they know the password. Relevanssi does protect the content and won’t show parts of it in excerpts. If……you want to deindex protected posts completely, add this code to your site: add_filter( ‘relevanssi_indexing_restriction’, ‘rlv_exclude_protected’ ); function rlv_exclude_protected( $restriction ) { global $wpdb; $restriction[‘mysql’] .= ” AND post.post_password = ””; $restriction[‘reason’] .= ‘ Has a password’; return $restriction; } Then just rebuild the index. This will prevent Relevanssi from…