Are you using the default WordPress Search widget on your website or blog?
If you are, and you’re publishing content that you don’t want people to find when they’re searching your site, you can use a plugin to exclude that content from the internal search engine.
This only works on Posts and Pages. Categories and Tags are already excluded from the results.
This is all you have to do.
Download and install a plugin called Search Exclude.
The plugin adds a new widget to the editing page which includes a check box you can use when you want to exclude a Post or Page from the internal search results.
If you’re running a established site with plenty of content, you’ll be pleased to know you can use this plugin in the Bulk Editor. Just check the box next to the Posts or Pages you want to exclude, then choose Hide from the drop down menu where it says No Change in the image below.
When you’re done, hit the Update button. The plugin will now go ahead and exclude the selected pages from the search results.
Finally, keep track of the content you’ve excluded by navigating to Settings > Search Exclude. Here you’ll see the Posts and Pages no longer included in the search results.