Categories

Omit Passworded Posts From Search

Author: Scott Reilly
Version: 1.0.1
First released: 2009-06-12
Last update: 2009-06-12
Compatibility: WP 2.5 – 2.7.1
Download: [ zip ]
Description:

Prevent passworded posts from being included in site search results.

Extended Description

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.

Find out more at the plugin’s WordPress Plugin Repository page.

Installation

  1. Unzip omit-passworded-posts-from-search.zip inside the /wp-content/plugins/ directory for your site
  2. Activate the plugin through the ‘Plugins’ admin menu in WordPress

Release Log

Copyright & Disclaimer

Copyright © 2009-2024 by Scott Reilly (aka coffee2code)

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Discussion / Support

Have any questions, comments, or suggestions? Please provide them via the plugin’s WordPress.org support forum. I’ll do my best to reply in a timely fashion and help as best I can.

Unfortunately, I cannot provide guaranteed support, nor do I provide support via any other means.

Was this plugin useful useful to you? Consider giving it a rating. If you’re inclined to give it a poor rating, please first post to the support forum to give me a chance to address or explain the situation.

3 replies on “Omit Passworded Posts From Search”