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

Affiliate link cloaking and SEO

Discussion in 'Cloaking and Content Generators' started by arnoudjansen, Dec 12, 2010.

  1. arnoudjansen

    arnoudjansen Registered Member

    Joined:
    Jan 2, 2010
    Messages:
    67
    Likes Received:
    34
    Location:
    Far away
    Does cloaking affiliate links help improve SEO?
    And if it does, is it enough to make them nofollow links or really cloak them?

    Thanks in advance
     
  2. dannyhw

    dannyhw Senior Member

    Joined:
    Jul 16, 2008
    Messages:
    980
    Likes Received:
    462
    Occupation:
    Software Engineer
    Location:
    New York City Burbs
    You definitely want to no follow it. Keep your PR sculpted. I really seriously doubt there's any penalty just for linking to an affiliate program, but you can cloak it if you're that concerned.
     
  3. xbox360gurl70s

    xbox360gurl70s Elite Member

    Joined:
    Sep 28, 2008
    Messages:
    1,532
    Likes Received:
    349
    Location:
    In your wet dreams
    I also want to hear opinions about redirecting them and not cloaking as well
     
  4. arnoudjansen

    arnoudjansen Registered Member

    Joined:
    Jan 2, 2010
    Messages:
    67
    Likes Received:
    34
    Location:
    Far away
    My opinion would be that if you have a website
    like I have an adult website with all affiliate links to the webcams.
    Google sees this and may think that this is a website only to make money.
    This I would understand.
    I will just make all links go to an out.php script. And then in my robots.txt put it as disallowed and off course nofollow every link let's see if it helps my seo position! will post result in this thread. However I don't know how long it will take:p

    EDIT here is my out.php script by the way if anyone needs it:
    Code:
    <?php
    if(isset($_GET['pi']) != "" && isset($_GET['m']) != "") {
        $pi = strip_tags($_GET['pi']);
        $m = strip_tags($_GET['m']);
        $url = "http://affiliateurl.com/index.php?pi=".$pi."&m=".$m;
    } else {
        // someone trys to acces the out.php script with no variables
        $url = "http://www.homepage.com";
    }
    header('Location: '.$url);
    ?>
    
    Here is the same script but this one makes sure there is no referer:
    Code:
    <?php
    if(isset($_GET['pi']) != "" && isset($_GET['m']) != "") {
        $pi = strip_tags($_GET['pi']);
        $m = strip_tags($_GET['m']);
        $url = "http://affiliateurl.com/index.php?pi=".$pi."&m=".$m;
    } else {
        // someone trys to acces the out.php script with no variables
        $url = "http://www.homepage.com";
    }
    $ref = strtolower($_SERVER['HTTP_REFERER']);
    if ($ref == "") {
                header('Location: '.$url);
    } else {
                $url = "http://www.homepage.com/out.php?pi=".$pi."&m=".$m;
                ?>
                    <html>
                    <head>
                    <meta http-equiv="Refresh" content="0; url=<?php echo $url; ?>"/>
                    <title>Redirect</title>
                    </head>
                    <body>
                    </body>
                    </html>
                <?php
            }
    ?>
    
     
    Last edited: Dec 16, 2010
  5. arnoudjansen

    arnoudjansen Registered Member

    Joined:
    Jan 2, 2010
    Messages:
    67
    Likes Received:
    34
    Location:
    Far away
    You need to edit the script abit.
    How does your affiliate link looks like?