Seeking Solution to remove Clickbank "?hop/username"

12 replies
Hi,

I trying to find code which will remove the "/?hop/username" code in the Affiliate URL.

I have see allot of redirects but once I get to the affiliate page for the clickbank product, the /?hop/username is still there.


Does someone have some PHP code or Javascript code that works?

I have tried the following:

Example1: The following php code simply directs me to the Affiliate site and DOES NOT remove the clickbank hoplink:

<?php
$url =
"YourFullAffiliateURL";
header("Location: $url");
exit();
?>


Exampe 2: The following Javascript code is not working for me either.
It does not forward the page.

<html>

<head>

<script type="text/javascript">
var yourdomain="http://thepokeranalyzer.com/?hop=halsworld";
var url=top.location.toString();
if(url.indexOf('hop')>-1){
top.location.href=yourdomain;
}
</script>

</head>

<body>

</body>

</html>


EXAMPLE 3: I have also found the following PHP code here on the forum.
However, all it does is to foward me to my affiliate site, WITHOUT removing the hoplink.

<
?php header( 'http://affiliateSite.com/?hop=username' ) ; ?
exit();
?>


So, anyone know of any code that I can use?

Thanks.

Hal
#clickbank #hop or username #remove #seeking #solution
  • Profile picture of the author WendellC
    Hal -

    Hi.

    You might find some information on affiliate cloaking in this post I just saw:

    w w w.warriorforum.com/main-internet-marketing-discussion-forum/83123-how-do-you-hide-your-affiliate-link.html

    Alternatively, if you want to hide it in a frame then this might work:

    w w w.jamesshuggins.com/h/web1/affiliate_link_cloaker.htm

    Hope this helps.

    Wendell
    Signature

    List your no opt-in product here for free: No Opt In Required

    {{ DiscussionBoard.errors[853463].message }}
  • Profile picture of the author stevenh512
    If you don't control the sales page (you're an affiliate, not the product owner, correct?) all you can do is use a link cloaker that either stuffs the cookie and redirects to the sales page (this practice is frowned upon, I don't use this myself and don't recommend it, although I think it may be one of the few legitimate uses of cookie stuffing) or use a link cloaker that "frames" the page.

    If you are the product owner and control the sales page, that bit of PHP code would put you in a redirect loop, but here's a bit of PHP code that should work..

    <?php
    $url = "YourFullAffiliateURL";
    if (isset($_GET["hop"])) {
    header("Location: $url");
    exit();
    }
    ?>

    edit: If you are the product owner and decide to use that PHP code, make sure it's the first thing on the page. There can be nothing (no whitespace, not even a single space or blank line) before the <?php or you will get an error.
    Signature

    This signature intentionally left blank.

    {{ DiscussionBoard.errors[853504].message }}
    • Profile picture of the author halcline
      Hi,

      I tried this code but it is just hanging on the page that I'm pointing people too, rather than forwarding to the Clickbank product page.

      hal
      {{ DiscussionBoard.errors[868748].message }}
  • Profile picture of the author Ryan700
    My Web hosting service has a "stealth" redirect which leaves the URL intact whilst redirecting to another page. It's in the setting somewhere.
    Signature
    {{ DiscussionBoard.errors[853645].message }}
  • Profile picture of the author seomark09
    You can always buy .info domains and forward them over. I do that sometimes and it hides the aff hoplink. $1.99 on sale at godaddy
    {{ DiscussionBoard.errors[868844].message }}
    • Profile picture of the author Michael Franklin
      Originally Posted by seomark09 View Post

      You can always buy .info domains and forward them over. I do that sometimes and it hides the aff hoplink. $1.99 on sale at godaddy
      This is the way I suggest too! Watch the video below.

      Signature

      {{ DiscussionBoard.errors[868878].message }}
  • Profile picture of the author Michael Gavre
    I did not think this was an issue anymore with Clickbanks new HOPLINK SHIELD.

    The new Hop's now look like this:

    'http://9338bcqg0xcv6l0-er2fgaor7x.hop.clickbank.net/'

    Where you can not tell the vendor's nickname or Yours... You can create the Hoplinks from the Marketplace by simply clicking the 'Create Hoplink' link under the item you wish to promote.

    Michael
    Signature

    Funnels Dramatically Increase Conversions !! Let me Give you a FREE FUNNEL !!

    {{ DiscussionBoard.errors[869017].message }}
    • Profile picture of the author halcline
      However, when I go the the affiliate link, my hoplink is still dangling off the url.

      hal
      {{ DiscussionBoard.errors[869289].message }}
  • Profile picture of the author jasonl70
    This is controlled by the owner of the sales page (not all sales pages do this) - as far as I can tell there's nothing you can do about it other then framing it in, or stuffing the cookie and redirecting to the site directly.
    Signature

    -Jason

    {{ DiscussionBoard.errors[869058].message }}
  • Profile picture of the author Micheal Perkins
    I use G-Lock Affiliate Link Cloaker.

    You copy your affiliate link and put it in a field setting. Then give the domain to send them to. You then create an HTML file and upload it to your server. Point your link to the file you created.

    The only time anyone can ever see your hoplink is once they have clicked the buy button. It shows at the bottom of the order page, but it's too late by then to bypass your link.

    Mike
    Signature

    {{ DiscussionBoard.errors[869122].message }}
    • Profile picture of the author halcline
      this is still showing the hop=clickbanklinkname on the end.

      any other idea?
      {{ DiscussionBoard.errors[869306].message }}
      • Profile picture of the author jasonl70
        Originally Posted by halcline View Post

        this is still showing the hop=clickbanklinkname on the end.

        any other idea?
        Read my post... there's not a whole lot you can do, as it's controlled by the person who owns the site. Typical redirects/"cloaking" strategies used by most affiliates will not change this.
        Signature

        -Jason

        {{ DiscussionBoard.errors[869330].message }}

Trending Topics