How to Hide Individual Pages from the Search Engines

In a previous post I showed how you can hide individual pages from your WordPress page navigation menus. I also warned that they can still be indexed by search engines and therefore seen by unintended people through search results.

Why Do Search Engines Still Index My Hidden Pages?

Because we haven’t told them not to…yet. The solution for blocking search engines from indexing individual pages lies in using what are known as robots meta tags. In a nutshell, the robots meta tags deliver instructions to search engines on what to do when they get to the content of an individual web page. The optional tags you can specify are:

"index"
"noindex"
"follow"
"nofollow"

The “index” and “noindex” tell search engines to read the page or not. The “follow” and “nofollow” tell search engines to either follow the links on your pages or not. You can use any combination of these robots meta tags, but only the following combinations make sense logically.

meta name="robots" content="noindex", "follow"
meta name="robots" content="index", "nofollow"
meta name="robots" content="noindex", "nofollow"

How To Specify Robots Meta Tags on Your Pages and Posts

If you were writing individual HTML pages, you would need to insert these robots meta tags in the <HEAD> section of each of your pages. Because WordPress handles the creation of our pages dynamically it would be very difficult to do on our own…[private_free] Luckily, there are many WordPress plugins to help us accomplish this easily. Not only are there plugins to help us insert these tags on a per page/post basis, but at least one cutting edge theme company (StudioPress) has already built this functionality into their themes.

What Plugins Can I Use?

If you’re not using a theme that has robots meta tags built-in, you’ll want to grab a plugin to help you along. The plugin I prefer most is by Joost de Valk and is named Robots Meta. Once installed, it adds a “Robots Meta” box to the right side of your “Post/Page Edit” screens. It looks like this.

How to Block Your WordPress Pages from Search Engines Using Robots Meta

Robots Meta Plugin

While creating your post or page, simply choose what robots meta tags you would like to include on that particular post or page. Whenever I hide a page from my navigation menus, chances are that I don’t want it seen by anyone except the intended party, so I simply choose “noindex, nofollow”. However, there are situations where you might want to hide a page and still have it indexed…but more on that in a later post. You can explore more robots meta plugins here.

Robots Meta Options in Themes

There are a few themes out there that can help, but if you happen to be using any themes from StudioPress (and I highly recommend that you consider it), you will see the same robots meta options on your editing screens like in the image below.

StudioPress WordPress Themes Built-in Robots Meta Tags

Built-in Robots Meta Tags Options

StudioPress themes also have other built-in Search Engine Optimization settings available. You can learn more here.

Comments

  1. Just to clarify… if you select anything with “noindex” or “nofollow” the search engine will not bring up these pages in the results? Or is it a little more complicated?

    • Adam W. Warner says:

      That is correct GR Smith. Any page with these selected will not show in search engine search results.

  2. Danielle J says:

    ^_^ Smart making me sign up to read the rest of the article! It was worth it. Thanks!

    • Adam W. Warner says:

      Hi Danielle,

      Thanks for your comment and thanks for signing up as a Free Member here to access the entire article:) I’m pleased you found it useful. Please spread the word on your preferred network if you think others will find my site useful.

  3. Andrew McCauley says:

    Hey Adam
    Thanks for the great posts… I have got exactly what i wanted from this post and also the one about Hiding pages. Keep up the good work

    Cheers
    Andrew

    • Adam W. Warner says:

      Hi Andrew,

      You’re quite welcome, I’m glad you find them useful and that I could help out. Speaking of “keeping up the good work”, stay tuned in the coming weeks for an announcement regarding my WP tutorials and something new I’m releasing:)

  4. Melinda C says:

    Sorry, but I still don’t know how to do the follow, unfollow. The information about getting a plug-in was too unclear for me.

    • Adam W. Warner says:

      Hi Melinda,

      Have you installed a plugin before? In your WordPress Dashboard (administration area), navigate to “Plugins” then “Add New”. There you will find an area where you can search for new plugins. (this information searches the http://wordpress.org/extend/plugins repository).

      So, search for the plugin “Robots Meta” and you will likely see a list of plugins using this title or similar. Look for the one by “Joost DeValk” and then click the “Install Now” button. After installing you will have the choice to “Activate” this plugin. Do that.

      Now when you’re in Page editing mode, you will see the choices as described above.

      Hope that helps:)

      Also, you may be interested in my other site WP Pro Business.

Trackbacks

  1. [...] Saturday Dec. 4th at Midnight EST.Choice of URLs to link to:Help a New User to Understand WordPressHow to Hide Individual Pages from Search EnginesHow to Put Your WordPress Site in Maintenance ModeLinks can be most anywhere. Here’s a few [...]

Speak Your Mind

*


CommentLuv badge
WordPress hosting from WPEngine