How to: disable search engine indexing on a single post/page

By | October 24, 2013

Login and Share to get Free Bitcoins

For every visitor from share you will earn Bitcoin/Satoshi

Sponsor Ads


Every WordPress blogger loves Search indexing But there might be some pages or post which should not be indexed.By adding this code you can just stop search engine indexing that.

To achieve,First get the page or post id.If your sure about the post id.Then update the post id of your post in the code below.Example id used 10.

< ?php if ($post->ID == 17) {
    echo '';

Then add the code in between <head> and </head>.This can be found in your header.php file.That’s it now search engine can not access this information for that page.

Leave a Reply

Your email address will not be published. Required fields are marked *

Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.