![]() |
| ||||||||
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
Active Warrior
War Room Member
Join Date: Nov 2005
Location: , , .
Posts: 67
Thanks: 29
Thanked 4 Times in 4 Posts
|
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 |
|
|
|
|
|
#2 |
|
HyperActive Warrior
War Room Member
Join Date: Jan 2008
Location: Southern California
Posts: 167
Thanks: 8
Thanked 44 Times in 30 Posts
|
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 |
|
|
|
|
|
|
|
|
#3 |
|
HyperActive Warrior
Join Date: Mar 2009
Location: Landers, CA, USA
Posts: 335
Thanks: 30
Thanked 26 Times in 25 Posts
|
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.
|
|
|
|
|
|
|
#4 |
|
HyperActive Warrior
War Room Member
Join Date: May 2008
Location: On the left coast in Canada
Posts: 245
Thanks: 57
Thanked 17 Times in 13 Posts
|
My Web hosting service has a "stealth" redirect which leaves the URL intact whilst redirecting to another page. It's in the setting somewhere.
|
|
|
|
|
|
|
|
|
#5 |
|
Active Warrior
War Room Member
Join Date: Nov 2005
Location: , , .
Posts: 67
Thanks: 29
Thanked 4 Times in 4 Posts
|
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 |
|
|
|
|
|
#6 |
|
Active Warrior
War Room Member
Join Date: Jun 2009
Posts: 77
Thanks: 1
Thanked 0 Times in 0 Posts
|
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
|
|
|
|
|
|
#7 | |
|
HyperActive Warrior
War Room Member
Join Date: Jun 2008
Location: Walled Lake, Michigan
Posts: 298
Thanks: 9
Thanked 146 Times in 54 Posts
|
Quote:
| |
|
|
|
|
|
#8 |
|
Active Warrior
Join Date: Oct 2007
Location: Leesburg, GA
Posts: 71
Thanks: 16
Thanked 13 Times in 6 Posts
|
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 |
|
|
|
|
|
#9 |
|
Software Developer
War Room Member
Join Date: Feb 2007
Location: Columbus, Ohio , USA.
Posts: 1,959
Thanks: 350
Thanked 304 Times in 185 Posts
|
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
|
|
|
|
|
|
|
#10 |
|
HyperActive Warrior
Join Date: Jan 2009
Location: Missouri
Posts: 186
Thanks: 4
Thanked 26 Times in 24 Posts
|
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 |
|
Blog Profits Blueprint - Free Membership Site Shows How To Make $1,000 a Day Blogging.
Learn To Make Websites - Step-By-Step Guide On How To Make Websites. |
|
|
|
|
|
|
#11 |
|
Active Warrior
War Room Member
Join Date: Nov 2005
Location: , , .
Posts: 67
Thanks: 29
Thanked 4 Times in 4 Posts
|
However, when I go the the affiliate link, my hoplink is still dangling off the url.
hal |
|
|
|
|
|
#12 |
|
Active Warrior
War Room Member
Join Date: Nov 2005
Location: , , .
Posts: 67
Thanks: 29
Thanked 4 Times in 4 Posts
|
this is still showing the hop=clickbanklinkname on the end.
any other idea? |
|
|
|
|
|
#13 |
|
Software Developer
War Room Member
Join Date: Feb 2007
Location: Columbus, Ohio , USA.
Posts: 1,959
Thanks: 350
Thanked 304 Times in 185 Posts
|
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
|
|
|
|
|
![]() |
|
| Tags |
| clickbank, hop or username, remove, seeking, solution |
| Thread Tools | |
|
|
![]() |