1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to block Google to index Certain posts in WordPress

Discussion in 'White Hat SEO' started by raddix, Mar 10, 2015.

  1. raddix

    raddix Registered Member

    Joined:
    Nov 16, 2014
    Messages:
    66
    Likes Received:
    17
    Hi,

    I am using self hosted WordPress. I have some posts which I don't want to show to Google. So, How I can block Google to index those certain posts ?

    Thanks
     
  2. hpasha

    hpasha Jr. VIP Jr. VIP

    Joined:
    May 15, 2011
    Messages:
    1,339
    Likes Received:
    185
    Location:
    Kepler 186F
    Install SEO BY Yoast Plugin and in post settings edit the robots meta to noindex :)

    Thats it
     
    • Thanks Thanks x 1
  3. Garryr

    Garryr Junior Member

    Joined:
    Dec 9, 2014
    Messages:
    129
    Likes Received:
    12
    Occupation:
    link building, brand building
    And if you want to block full category, you can block in code of site
    Open your header.php file and paste the following code between the <head> and </head> tags:
     
  4. koolbrian

    koolbrian Registered Member

    Joined:
    Nov 29, 2009
    Messages:
    83
    Likes Received:
    28
    Occupation:
    PHP Developer
    Location:
    Melbourne
    There is also a plugin called Robots-meta that allows you to individually set any post/page nofollow/********/index/noindex etc. Very easy to manage,