How to Hide a Page or Post from WordPress Site Search

search field bar

Sometimes your content goals require specific pages to remain hidden from the masses, and if it is easy to exclude a page/post from being indexed by search engines (setting it to no-index in your SEO plugin options), hiding a page from your native site search results is a little trickier.

Hiding a page from WordPress search results is a simple process that can be accomplished with a few clicks. In this guide, we will walk you through the step-by-step process of hiding a page from WordPress search results.

No need for adding code to your functions.php file or some other complicated tasks.

Why You Might Want to Hide a Page from Search Results

  • You have a page that’s still a work in progress and you don’t want it to show up in search results until it’s ready to be published.
  • You have a page with sensitive information that you don’t want to be publicly accessible.
  • You have a page that’s not relevant to your audience, but you still want to keep it on your website for reference purposes.

There isn’t a ready solution for that in WordPress (yet).

But thanks to the good guys out there, who develop free WordPress plugins, there is a simple way for hiding specific pages from being found through site search.

Search Exclude Plugin

Search Exclude Plugin

You can tell by the name that this plugin is doing what it’s meant to do.

You’ll see the checkbox on your page/post settings panel (this also works with the Gutenberg editor).


  1. Install and activate the Search Exclude plugin.
  2. Go to the edit screen of the page you want to hide from search results.
  3. Scroll down to the “Search Exclude” section.
  4. Check the box labeled “Exclude from search results”.
  5. Save your changes.
Search Exclude Plugin WordPress

Simple and working as it should! Your page should now be hidden from search results.

With this guide, you should have no trouble keeping your private pages away from public search results.

Download Here

Disclosure: Some of the links on the page may contain a ref code (affiliate links), that tells the other side that we have sent you. If you liked what we suggest and you make a purchase, we may receive a commission.

I'm Bozh, and I've been creating websites with WordPress for 15+ years. Since 2016, I've worked with top affiliate companies, run my own e-commerce business, and managed several niche blogs. I founded with the idea of sharing my knowledge, personal experiences, and recommending better alternatives to you.