![]() | | ||||||||
| | #1 |
| Active Warrior War Room Member Join Date: Nov 2005 Location: , , .
Posts: 87
Thanks: 66
Thanked 9 Times in 8 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: 190
Thanks: 9
Thanked 52 Times in 34 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 |
|
Get a free one-way link from No Opt In Required for your no opt-in product. PM for details. Twitt..er...Me! | |
| | |
| | #3 |
| HyperActive Warrior Join Date: Mar 2009 Location: Landers, CA, USA
Posts: 329
Thanks: 30
Thanked 29 Times in 26 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: Vancouver, B.C.
Posts: 370
Thanks: 72
Thanked 30 Times in 24 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: 87
Thanks: 66
Thanked 9 Times in 8 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: 81
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 | |
| Senior Warrior Member War Room Member Join Date: Jun 2008 Location: Walled Lake, Michigan
Posts: 1,711
Thanks: 12
Thanked 379 Times in 195 Posts
| Quote:
| |
| My Video Course Will Show You How To Earn A PASSIVE Income With Amazon! ..... | ||
| | |
| | #8 |
| Active Warrior Join Date: Oct 2007 Location: Leesburg, GA
Posts: 87
Thanks: 22
Thanked 14 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: Ohio , USA.
Posts: 2,273
Thanks: 416
Thanked 408 Times in 250 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: 201
Thanks: 5
Thanked 30 Times in 26 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 |
| | |
| | |
| | #11 |
| Active Warrior War Room Member Join Date: Nov 2005 Location: , , .
Posts: 87
Thanks: 66
Thanked 9 Times in 8 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: 87
Thanks: 66
Thanked 9 Times in 8 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: Ohio , USA.
Posts: 2,273
Thanks: 416
Thanked 408 Times in 250 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 | |
| |
![]() |