How to keep your page out of the search results

If you want to keep your page out of the search results, there are a number of things you can do. Most of ’em are not hard and you can implement these without a ton of technical knowledge. If you can check a box, your content management system will probably have an option for that. Or allows nifty plugins like our own Yoast SEO to help you prevent the page from showing up in search results. In this post, I won’t give you difficult options to go about this. I will simply tell you what steps to take and things to consider.

Why do you want to keep your page out of the search results?

 It sounds like a simple question, but it’s not, really. Why do you want to keep your page out of the search results in the first place? If you don’t want that page indexed, perhaps you shouldn’t publish it? There are obvious reasons to keep for instance your internal search result pages out of Google’s search result pages or a “Thank you”-page after an order or newsletter subscription that is of no use for other visitors. But when it comes to your actual, informative pages, there really should be a good reason to block these. Feel free to drop yours in the comments below this post.

If you don’t have a good reason, simply don’t write that page.

Private pages

If your website contains a section that is targeted at, for instance, an internal audience or a, so-called, extranet, you should consider offering that information password-protected. A section of your site that can only be reached after filling out login details won’t be indexed. Search engines simply have no way to log in and visit these pages.

How to keep your page out of the search results

If you are using WordPress, and are planning a section like this on your site, please read Chris Lema’s article about the membership plugins he compared.

Noindex your page

Like that aforementioned “Thank you”-page, there might be more pages like that which you want to block. And you might even have pages left after looking critically if some pages should be on your site anyway. The right way to keep a page out of the search results is to add a robots meta tag. We have written a lengthy article about that robots meta tag before, be sure to read that.

Adding it to your page is simple: you need to add that tag to the <head> section of your page, in the source code. You’ll find examples from the major search engines linked in the robots meta article as well.

Are you using WordPress, TYPO3 or Magento? Things are even easier. Please read on.

Noindex your page with Yoast SEO

The above mentioned content management systems have the option to install our Yoast SEO plugin/extension. In that plugin or extension, you have the option to noindex a page right from your editor.

In this example, I’ll use screenshots from the meta box in Yoast SEO for WordPress. You’ll find it in the post or page editor, below the copy you’ve written. In Magento and TYPO3 you can find it in similar locations.

How to keep your site out of the search results using Yoast SEO

Click the Advanced tab in our Yoast SEO meta box. It’s the cog symbol on the left.Advanced tab Yoast SEO meta box
Use the selector at “Allow search engines to show this post/page in search results”, simply set that to “No” and you are done.

The second option in the screenshot is about following the links on that page. That allows you to keep your page out of the search results, but follow links on that page as these (internal) links matter for the other pages (again, read the robots meta article for more information). The third option: leave that as is, this is what you have set for the site-wide robots meta settings.

It’s really that simple: select the right value and your page will tell search engines to either keep the page in or out of the search results.

The last thing I want to mention here is: use with care. This robots meta setting will truly prevent a page from being indexed, unlike robots.txt suggestion to leave a page out of the search result pages. Google might ignore the latter, triggered by a lot of inbound links to the page. 

If you want to read up on how to keep your site from being indexed, please read Preventing your site from being indexed, the right way. Good luck optimizing!

Become a Yoast SEO plugin expert!

  • Master the Yoast SEO plugin
  • Get the best settings for your site
  • Don’t miss out on awesome features
  • On-demand SEO training by Yoast
More info

9 Responses to How to keep your page out of the search results

  1. Jerry
    Jerry  • 9 months ago

    Hi Michiel, Thank you for the article! We create pages for conference events we present, both in person and online. I am not sure what to do with these pages after the event. They do come in handy to refer back to or to pull information off of them, but we are no longer promoting the event and the pages are no longer linked to our calendar. I am currently using an archive plug-in. What would you recommend I do with these pages? Thanks again! Jerry

  2. Louis Cook
    Louis Cook  • 9 months ago

    Thank you so much for this awesome information.
    I have a question. Do google pass PageRank if the page is Noindexed. If the page meta robot noindexed,follow then?


  3. انجام پروژه مکانیک
    انجام پروژه مکانیک  • 9 months ago

    I always thought that making a page private is the only way for hiding that from google, I didn’t know that Yoast make this very easy.

  4. Lucas Oliveira
    Lucas Oliveira  • 9 months ago

    It was the information I was looking for, thank you!

  5. Noor Alam
    Noor Alam  • 9 months ago

    I have a couple of pages that I don’t want to show in search results. Now I know what to do about it.

  6. Ramesh Kota
    Ramesh Kota  • 9 months ago

    Very useful tips had a lot of doubts before now got a clear idea

  7. AdmissionBlock
    AdmissionBlock  • 9 months ago

    Really good information, very useful for a website with private pages.

  8. Mondy Choudhary
    Mondy Choudhary  • 9 months ago

    It’s too important for me because my lost some pages from Google search. I don’t know my website keywords rank down and lost pages from Google search engine and now it go number 4 page of Google. The above-mentioned article is helpful for. Let’s can I will get my pages again on first page of Google. Thanks YOOOO

Check out our must read articles about Crawl directives