Omit Passworded Posts From Search

Version: 1.0.1

Prevent passworded posts from being included in site search results.

Author:Scott Reilly (profile at wordpress.org)
WordPress version required:2.5
WordPress version tested:2.7.1
Plugin version:1.0.1
Added to WordPress repository:12-06-2009
Last updated:12-06-2009
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://coffee2code.com/wp-plugins/omit-passwo...
Total downloads:1 128
plugin download
Click to start download

NOTE: This plugin is no longer necessary as of WordPress 2.8 as this functionality is now built-in.

Prevent passworded posts from being included in site search results.

By default, WordPress's built-in search feature searches the contents of passworded posts. If the content of a passworded post matches the search criteria, WordPress will include that post in the listing of search results. While it is true that the post contents will not be displayed to the visitor (unless they know and have entered the password for the post), the fact that the otherwise protected post appeared in the search results allows for the visitor to search-bomb your site in an effort to deduce some of the content of the password-protected post.

This plugin prevents posts that have a password from being included in any search performed on the site. Of course, external search (as done from Google) would never include the passworded post contents since that content is not available to external search engines.

This plugin does not constrain the search capabilities from within the WordPress admin.