Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 06-06-2009, 10:08 PM   #1
Active Warrior
War Room Member
 
Join Date: Nov 2005
Location: , , .
Posts: 87
Thanks: 66
Thanked 9 Times in 8 Posts
Default Seeking Solution to remove Clickbank "?hop/username"

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
halcline is offline   Reply With Quote
Old 06-07-2009, 01:56 AM   #2
HyperActive Warrior
War Room Member
 
WendellC's Avatar
 
Join Date: Jan 2008
Location: Southern California
Posts: 190
Thanks: 9
Thanked 52 Times in 34 Posts
Social Networking View Member's Twitter Profile 
Default Re: Seeking Solution to remove Clickbank "?hop/username"

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

Get a free one-way link from No Opt In Required for your no opt-in product. PM for details.
Twitt..er...Me!
WendellC is offline   Reply With Quote
Old 06-07-2009, 02:21 AM   #3
HyperActive Warrior
 
Join Date: Mar 2009
Location: Landers, CA, USA
Posts: 329
Thanks: 30
Thanked 29 Times in 26 Posts
Social Networking View Member's Twitter Profile 
Default Re: Seeking Solution to remove Clickbank "?hop/username"

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.

This signature intentionally left blank.
stevenh512 is offline   Reply With Quote
Old 06-07-2009, 03:29 AM   #4
HyperActive Warrior
War Room Member
 
Ryan700's Avatar
 
Join Date: May 2008
Location: Vancouver, B.C.
Posts: 370
Thanks: 72
Thanked 30 Times in 24 Posts
Social Networking View Member's Twitter Profile 
Default Re: Seeking Solution to remove Clickbank "?hop/username"

My Web hosting service has a "stealth" redirect which leaves the URL intact whilst redirecting to another page. It's in the setting somewhere.

Ryan700 is offline   Reply With Quote
Old 06-11-2009, 12:24 PM   #5
Active Warrior
War Room Member
 
Join Date: Nov 2005
Location: , , .
Posts: 87
Thanks: 66
Thanked 9 Times in 8 Posts
Default Re: Seeking Solution to remove Clickbank "?hop/username"

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
halcline is offline   Reply With Quote
Old 06-11-2009, 12:52 PM   #6
Active Warrior
War Room Member
 
seomark09's Avatar
 
Join Date: Jun 2009
Posts: 81
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: Seeking Solution to remove Clickbank "?hop/username"

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
seomark09 is offline   Reply With Quote
Old 06-11-2009, 12:59 PM   #7
Senior Warrior Member
War Room Member
 
Michael Franklin's Avatar
 
Join Date: Jun 2008
Location: Walled Lake, Michigan
Posts: 1,711
Thanks: 12
Thanked 379 Times in 195 Posts
Default Re: Seeking Solution to remove Clickbank "?hop/username"

Quote:
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.


Michael Franklin is online now   Reply With Quote
Old 06-11-2009, 01:41 PM   #8
Active Warrior
 
Michael Gavre's Avatar
 
Join Date: Oct 2007
Location: Leesburg, GA
Posts: 87
Thanks: 22
Thanked 14 Times in 6 Posts
Default Re: Seeking Solution to remove Clickbank "?hop/username"

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
Michael Gavre is offline   Reply With Quote
Old 06-11-2009, 01:58 PM   #9
Software Developer
War Room Member
 
jasonl70's Avatar
 
Join Date: Feb 2007
Location: Ohio , USA.
Posts: 2,273
Thanks: 416
Thanked 408 Times in 250 Posts
Default Re: Seeking Solution to remove Clickbank "?hop/username"

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.

-Jason
jasonl70 is offline   Reply With Quote
Old 06-11-2009, 02:18 PM   #10
HyperActive Warrior
 
Join Date: Jan 2009
Location: Missouri
Posts: 201
Thanks: 5
Thanked 30 Times in 26 Posts
Social Networking View Member's Twitter Profile 
Default Re: Seeking Solution to remove Clickbank "?hop/username"

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

Micheal Perkins is online now   Reply With Quote
Old 06-11-2009, 03:16 PM   #11
Active Warrior
War Room Member
 
Join Date: Nov 2005
Location: , , .
Posts: 87
Thanks: 66
Thanked 9 Times in 8 Posts
Default Re: Seeking Solution to remove Clickbank "?hop/username"

However, when I go the the affiliate link, my hoplink is still dangling off the url.

hal
halcline is offline   Reply With Quote
Old 06-11-2009, 03:19 PM   #12
Active Warrior
War Room Member
 
Join Date: Nov 2005
Location: , , .
Posts: 87
Thanks: 66
Thanked 9 Times in 8 Posts
Default Re: Seeking Solution to remove Clickbank "?hop/username"

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

any other idea?
halcline is offline   Reply With Quote
Old 06-11-2009, 03:25 PM   #13
Software Developer
War Room Member
 
jasonl70's Avatar
 
Join Date: Feb 2007
Location: Ohio , USA.
Posts: 2,273
Thanks: 416
Thanked 408 Times in 250 Posts
Default Re: Seeking Solution to remove Clickbank "?hop/username"

Quote:
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.

-Jason
jasonl70 is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
clickbank, hop or username, remove, seeking, solution

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 07:59 PM.