How to hide affiliate links from google?



As far as I know, Google doesn't slap sites because they have affiliate links (being it Amazon, cpa etc.) unless the site doesn't have much content except those links. On the other hand, if you do cloak your links, it's not so much hard for Google to follow the links and eventually getting to the final destination pages...
 
- Create a folder under your root and call it /goto or similar
- Add an exclusion to you robot.txt so bots wouldn't spider it - if you are really paranoid.
- Create a PHP file under this folder and call it something like go.php
- Copy the following content in the go.php and amend it to reflect your aff links:

PHP:
<?
$m = $_GET['m'];
if ($m == "amz") {$link = "http://www.amazon.com/aff=xxxx";}
if ($m == "cbk") {$link = "http://www.clickbank.com/aff=xxxx";}
if ($m == "gog") {$link = "http://www.google.com";}
header("Location: $link");
exit();
?>
Now you can link to your affiliate stuff as follows

PHP:
http://www.yourdomain.com/goto/go.php?m=amz
http://www.yourdomain.com/goto/go.php?m=cbk
http://www.yourdomain.com/goto/go.php?m=gog
Copy more of the if line if you need more links.
 
I am curious how do people actually cloak the affiliate links and make them look like originally from the vendor site? eg, vendor product: www.fatloss.com

If you have a clickbank ID..it typically show us : www.fatloss.com/CBxxx (your CB ID)

I noticed some links on some marketers promoting affliliate products on their website, but the link still show as the vendor link (www.fatloss.com)..without the CB ID..you will only see the CB ID at the payment page when you click on the payment page and proceed to checkout..

Just curious, how to cloak or hide this link..so all offers seemed like coming form vendor instead of affiliate? Any tips or codes?
 
I am curious how do people actually cloak the affiliate links and make them look like originally from the vendor site? eg, vendor product: www.fatloss.com

If you have a clickbank ID..it typically show us : www.fatloss.com/CBxxx (your CB ID)

I noticed some links on some marketers promoting affliliate products on their website, but the link still show as the vendor link (www.fatloss.com)..without the CB ID..you will only see the CB ID at the payment page when you click on the payment page and proceed to checkout..

Just curious, how to cloak or hide this link..so all offers seemed like coming form vendor instead of affiliate? Any tips or codes?

I'd like to know this as well.