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

How do I make a non index-able page on my wordpress website? Please help :)

Discussion in 'BlackHat Lounge' started by LuckySeven7, Sep 13, 2012.

  1. LuckySeven7

    LuckySeven7 Registered Member

    Joined:
    Nov 29, 2011
    Messages:
    66
    Likes Received:
    35
    As title says, I want a single page on my WP website to NOT be indexed on the search engines. This page will have special content on that should only be available if I send someone the direct link. ie I DO NOT want them to be able to find this page anywhere in google.

    Please help guys, thank you.
     
  2. MatthewWoodward

    MatthewWoodward Jr. VIP Jr. VIP Premium Member

    Joined:
    Aug 31, 2012
    Messages:
    992
    Likes Received:
    1,680
    Occupation:
    SEO
    Location:
    UK
    Home Page:
    Do you have Platinum SEO or similar wordpress plugin installed?

    That generally gives you the option to noindex/nofollow pages on the edit post screen itself.
     
    • Thanks Thanks x 1
  3. Gintoki

    Gintoki Regular Member

    Joined:
    Mar 24, 2012
    Messages:
    202
    Likes Received:
    152
    Occupation:
    Freelancer
    Location:
    Hungary
    You have to make a robots.txt for that. Its a txt file that tells search engines what pages to index and what pages not to index. Just google around "How to make robots.txt" and you will find the solution.
     
    • Thanks Thanks x 1
  4. PurelyRevenue

    PurelyRevenue Newbie

    Joined:
    Sep 13, 2012
    Messages:
    3
    Likes Received:
    4
    Use robots.txt to exclude the page, Google it.
     
    • Thanks Thanks x 1
  5. fpforum

    fpforum Junior Member

    Joined:
    Apr 22, 2008
    Messages:
    117
    Likes Received:
    4
    Home Page:
    The easiest way to prevent a page from being indexed is to simply add this to the meta tags:
    <meta name="robots" content="noindex">

    Since it's wordpress that may be a little more difficult..Adding it to the global meta tags would make the whole site non-indexable..So you may want to consider making a page outside of wordpress and adding that meta tag to it.
     
    • Thanks Thanks x 1
  6. supapera

    supapera Regular Member

    Joined:
    Sep 12, 2010
    Messages:
    212
    Likes Received:
    132
    Occupation:
    rushing long
    Location:
    de_dust2
    you can do it with platinum seo pack or similar seo plugins (noindex, nofollow)
    with "wp hide post" plugin you can hide it in feeds, search results, tags ...
     
    • Thanks Thanks x 1
  7. omagad

    omagad Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 10, 2010
    Messages:
    256
    Likes Received:
    290
    1. Find the page/post ID;
    2. edit your theme's header.php;
    3. right AFTER <head> add the following (replace ID with the actual numeric id):

    * for post:
    Code:
    <?php if (is_single('[COLOR=#ff0000]ID[/COLOR]')) { ?>
    <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
    <?php } ?>
    * for page:
    Code:
    <?php if (is_page('[COLOR=#ff0000]ID[/COLOR]')) { ?>
    <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
    <?php } ?>
     
    • Thanks Thanks x 1
  8. LuckySeven7

    LuckySeven7 Registered Member

    Joined:
    Nov 29, 2011
    Messages:
    66
    Likes Received:
    35
    Thank you ever so much guys, +1 rep and big thanks to you all.
     
  9. Th3T3chGuy

    Th3T3chGuy Senior Member

    Joined:
    Jun 1, 2011
    Messages:
    889
    Likes Received:
    756
    Location:
    Behind You :)