1) How To Remove Your Affiliates Clickbank Id From The URL.
As a merchant, you can hide clickbank affiliate id for your affiliates by creating a redirect page and pointing your default hoplink to redirect.
When some uses your hoplink http://hop.clickbank.net/?affid/yourid, cookie will be set and they will land on your redirect page.
The redirect will send them to your domain without adding ?hop= information. The cookie is already set and does not need to be shown.
This will help protect your affiliates commission and give your site a more professional appearance.
In code examples below, you will need to replace [ and ] with less then and greater then symbols.
Create a file called hoplink.php
Add following code
[?php header("Location: http://www.yourdomain.com"); exit; ?]
Upload hoplink.php to root of your domain.
Login into your clickbank account. Click to view or modify your account settings. Click to modify your account.
Under Business Info, change url of your website to be http://www.yourdomain.com/hoplink.php
Click on save changes.
Now when a visitor clicks on a hoplink, it appears that they came directly to your site and affiliate's id is no longer exposed. For this technique to be completely effective, affiliate needs to cloak hoplink as well.
2) How to Cloak Your Clickbank Vendor Id Using PHP
Most clickbank affiliate theft is caused by fact that is easy to rebuild a hoplink and get credit for your own purchase. All you really need to know is vendor id.