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

How to set noindex for outbond links...?

Discussion in 'Black Hat SEO' started by rhnkmr, Jan 25, 2013.

Tags:
  1. rhnkmr

    rhnkmr Regular Member

    Joined:
    Oct 16, 2012
    Messages:
    348
    Likes Received:
    38
    Occupation:
    SEO
    Location:
    Delhi
    Home Page:
    I have affiliate links on my site pages and don't want Google to index them so please tell me how to set no-index for a external link on a page.
     
  2. rettaibi

    rettaibi Regular Member

    Joined:
    Jun 25, 2012
    Messages:
    440
    Likes Received:
    799
    I guess it was

    Code:
    rel="nofollow" 
    you should place it like this

    Code:
    <a href="youraffilitatelink.com" rel="nofollow">tekst</a>
     
    • Thanks Thanks x 1
  3. Glenn BH

    Glenn BH Regular Member

    Joined:
    Nov 10, 2010
    Messages:
    230
    Likes Received:
    213
    If you don't allow Google to follow your affiliate links, it won't index them.

    How do you use your affiliate links? Do you use directories, like http://yoursite.com/out/affiliated-site/?

    If so, you can update your robots.txt file with the following:

    Code:
    User-agent: * Disallow: /out/
    Where '/out/' is your directory's name.

    If you use simple affiliate links, you can use the rel="nofollow" tag in your links.

    Code:
    <a href="http://affiliateurl.com/my-damn-ugly-affiliate-link/58765/8724" rel="nofollow">LINK</a>
     
    • Thanks Thanks x 1