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

Make links no follow?

Discussion in 'Black Hat SEO' started by Nosence, Mar 28, 2012.

  1. Nosence

    Nosence Senior Member

    Joined:
    Dec 28, 2010
    Messages:
    925
    Likes Received:
    42
    Is there a way to hide an affiliate link, or outbound link from google?

    I keep getting hit with it being considered a bridge page, no matter how much unique content I have
     
  2. makinsales

    makinsales Regular Member

    Joined:
    Jul 23, 2011
    Messages:
    368
    Likes Received:
    283
    Location:
    The Murda Mitten
    making it no-follow is not what you want to do.
    Make a .php file with this code and put it in the respected directory. For example if you were promoting an ipad offer

    This is the code
    Code:
    <?php
    
       header( 'Location: http://your-ipad-affiliate-link-here' ) ;
    
    ?>
    Then save it as php, put it in a folder on your domain like ipadoffer

    Then your new cloaked link would be
    Code:
    http://yourwebsite.com/ipadoffer.php
     
    Last edited: Mar 28, 2012
  3. Nosence

    Nosence Senior Member

    Joined:
    Dec 28, 2010
    Messages:
    925
    Likes Received:
    42
    Would you do that in cpanel? Is this the only code I need?

    This will keep google from assuming its a different site?
     
  4. makinsales

    makinsales Regular Member

    Joined:
    Jul 23, 2011
    Messages:
    368
    Likes Received:
    283
    Location:
    The Murda Mitten
    In whatever FTP manager you use, I use FileZilla. In your root directory where you have index.html, put this .php file in there. Then you will reference it as
    Code:
    http://yourdomainname/whateveryounamedthefile.php
    Yes it will keep google from assuming its a different site.
     
  5. jeromespitfire

    jeromespitfire Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 8, 2008
    Messages:
    600
    Likes Received:
    452
    Location:
    403 Access Forbidden
    makinsales, surely that is a single meta-refresh?
     
  6. Nosence

    Nosence Senior Member

    Joined:
    Dec 28, 2010
    Messages:
    925
    Likes Received:
    42
    Do you have to have a new PHP file for each one?
     
  7. makinsales

    makinsales Regular Member

    Joined:
    Jul 23, 2011
    Messages:
    368
    Likes Received:
    283
    Location:
    The Murda Mitten
    yea new php for each link
     
  8. makinsales

    makinsales Regular Member

    Joined:
    Jul 23, 2011
    Messages:
    368
    Likes Received:
    283
    Location:
    The Murda Mitten
    Oops, You're right I grabbed the wrong php file, this is just basically cloaking your link. Still the simplest way to do what you're asking.
     
  9. makinsales

    makinsales Regular Member

    Joined:
    Jul 23, 2011
    Messages:
    368
    Likes Received:
    283
    Location:
    The Murda Mitten
    Nosence, You don't need this for what you're trying to do. Just do what I showed you in first post.

    Here is double meta refresh code

    (you need 2 files to do double meta refresh, first one points to second one which points to your aff link)

    First File

    Code:
    echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.yoursite.com/firstfile.php\">";
    
    Second File


    Code:
    <?php $referer = $_SERVER['HTTP_REFERER']; if($referer == "")     { echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.affiliate.com/link.php\">";         } else     { echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.yoursite.com\">";         } ?>
    
     
  10. Nosence

    Nosence Senior Member

    Joined:
    Dec 28, 2010
    Messages:
    925
    Likes Received:
    42
    Is there an easier way to do it, I have alot of links,

    My site is on wordpress, is there maybe a plugin?