Clickbank hoplink cloaking

Discussion in 'ClickBank' started by bl4ckmaN^, Mar 25, 2008.

  1. #1
    Recently I cloaked all my hoplinks on my website using HTML redirect. Before I had almost all my reviews indexed in Google.

    After cloaking the links, I can find only 3-4 reviews of my 30 in Google :confused:

    The reviews were indexed before cloaking the links, so the only thing that comes to my mind that Google didn't like something in cloaking :(

    I used Clickbank's suggested HTML redirect to cloak my links:

    You can find it here - http://www.clickbank.com/affiliate_tools.html#Affiliate_Tools_2

    What should I do know?? I can't believe that html redirect is the problem....
     
    bl4ckmaN^, Mar 25, 2008 IP
  2. andrew1056

    andrew1056 Peon

    Messages:
    196
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm sure that clickbanks suggested html has made it's way into googles algorithm. I would use a PHP redirect with a 301 redirect. This tells google that the page has moved and you shouldn't get penalized... I haven't yet. It's not easy to outsmart google as their algorithm is constantly improving. I personally don't use cloaked links as tests that I've conducted show a negligible difference in sales.
     
    andrew1056, Mar 25, 2008 IP
  3. toby

    toby Notable Member

    Messages:
    6,923
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    285
    #3
    why not simply do a mouse overlay? that means when mouse goes over your anchor text, it will shows differently?
     
    toby, Mar 25, 2008 IP
    argothiusz likes this.
  4. argothiusz

    argothiusz Well-Known Member

    Messages:
    1,500
    Likes Received:
    79
    Best Answers:
    0
    Trophy Points:
    140
    #4
    Haha, that is clever. I never thought about it. -_-
     
    argothiusz, Mar 25, 2008 IP
  5. bl4ckmaN^

    bl4ckmaN^ Well-Known Member

    Messages:
    4,641
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    165
    #5
    andrew1056

    So should I try using PHP redirect? Is the one below fine?

    toby

    I want to use something simple ;)
     
    bl4ckmaN^, Mar 26, 2008 IP
  6. nadavs

    nadavs Active Member

    Messages:
    657
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    58
    #6
    Yes, use php redirects. They work great for me, and they also allow you to change the address quickly in case you want to switch a publisher instead of replacing many separate links.
    nadavs
     
    nadavs, Mar 26, 2008 IP
  7. wiper

    wiper Peon

    Messages:
    273
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I'm always using html redirects and have no problem with Google indexing.
     
    wiper, Mar 26, 2008 IP
  8. Fisker

    Fisker Well-Known Member

    Messages:
    1,857
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    175
    #8
    I would like th answer to that question too :)

    Can we use that code or should we use i frames ??
     
    Fisker, Mar 26, 2008 IP
  9. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #9
    You are using javascript to redirect the user. Google does not read or understand javascript.
     
    mikey1090, Mar 26, 2008 IP
  10. bl4ckmaN^

    bl4ckmaN^ Well-Known Member

    Messages:
    4,641
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    165
    #10
    mikey1090

    Thanks for help.

    If I take out the "script" bit from the coding, will it work fine?

     
    bl4ckmaN^, Mar 26, 2008 IP
  11. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #11
    No. The red code is the stuff thats doing the redirect. Your users will just see a html link and "loading" if you remove that.
     
    mikey1090, Mar 26, 2008 IP
  12. TheForexGuy

    TheForexGuy Well-Known Member

    Messages:
    520
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #12
    How about doing redirects in htaccess?

    How I redirect through htaccess is make an anchor link with the clickbank publisher id as part of the anchor url:
    http://www.mywebsite.com/re/water4gas/

    The apache address takes the clickbank publisher id and changes it over:
    http://yourid.?.hop.clickbank.net

    performs a modRewrite rule to put the publisher id where the ? is and redirects to that site.
    Tom
     
    TheForexGuy, Mar 26, 2008 IP
  13. andrew1056

    andrew1056 Peon

    Messages:
    196
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Here's what I do. I make a php page which accepts to GET variables pub & tid. Your link looks like this:

    example.com/page.php?pub=publisher&tid=10

    Than I make a php script:

    $pub = $_GET['pub'];
    $tid = $_GET['tid'];

    $url = "http://affiliate." . $pub . ".hop.clickbank.net?tid=" . $tid;

    Header( "HTTP/1.1 301 Moved Permanently" );
    Header( "Location:" $url);

    It works great for me and is relatively simple to implement.
     
    andrew1056, Mar 26, 2008 IP
  14. dannic06

    dannic06 Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    thanks. that helped
     
    dannic06, Mar 26, 2008 IP
  15. Gallito

    Gallito Peon

    Messages:
    1,939
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #15
    For my links I just use a simple HTML redirect:

    <html>
    <head>
    <meta name = "robots" content = "noindex,nofollow">
    <meta http-equiv='refresh' content='0; url=TARGET URL GOES HERE'>
    </head>
    </html>

    Only requires a single change in code, and google doesn't get pissed off since the page isn't indexed by crawlers.
     
    Gallito, Mar 26, 2008 IP
  16. andrew1056

    andrew1056 Peon

    Messages:
    196
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #16
    I made a mistake in my code

    Header( "Location:" $url);

    it should be this:

    Header( "Location:" . $url);
     
    andrew1056, Mar 26, 2008 IP
  17. bl4ckmaN^

    bl4ckmaN^ Well-Known Member

    Messages:
    4,641
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    165
    #17
    I decided to use this simple PHP redirect

    Will it be alright for search engines?
     
    bl4ckmaN^, Mar 26, 2008 IP
  18. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #18
    The search engines will see it as a permanent redirect and will not index the page where that code is used.
     
    mikey1090, Mar 26, 2008 IP
  19. andrew1056

    andrew1056 Peon

    Messages:
    196
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #19
    That'll work just fine. I add the 301 redirect because google won't index that page and you really don't want them to.
     
    andrew1056, Mar 26, 2008 IP
  20. bl4ckmaN^

    bl4ckmaN^ Well-Known Member

    Messages:
    4,641
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    165
    #20
    mikey1090

    Oh, no :( I think I need start using Tinyurl :D
     
    bl4ckmaN^, Mar 26, 2008 IP