Forum Moderators: skibum
I am in the process of building my second affiliate site right now. I want to hide my affiliate links so that the search engines do not follow them.
The reason i want to hide my links from search engines is because yahoo is dropping affiliate sites like flies.
What would be a good foolproof way of not allowing these spiders to follow my affiliate links?
redirect.php?go=www.example.com
When somebody loads the above, they get redirected to example.com.
Then replace all your links that point to affiliate sites with that code and use the nofollow tag in the link code:
a href="redirect.php?go=example.com" rel=nofollow
Another thing, I work with cj.com. As many of u know, their affiliate links tend to be very long. if I was to use the php redirect script, would I simply have to redirect to the first part of the cj affiliate link? the part after <a href="...>, where the url is located.
if I do that, will it disrupt the tracking code? is it safe to just link the first URL in a cj affliliate link?
Fill it with data like:
1 www.example.com
2 www.example2.com
3 www.example3.com
Then modify the click-through script to take in the code, query the table for the link, and then redirect to that.
So if somebody clicked on click.php?go=2, they would be redirected to www.example2.com if the table had the information above.
The rel=nofollow is a new addition, supposedly the search engines will not follow a link that has that code. But bear in mind this was only released a few months back and is not fully reliable yet. So the other alternative is to put the script in your robots.txt file:
User-Agent: *
Disallow: /path/to/script/go.php
I heard that if you are using a redirect script, then in order for parasites that actually <*cough cough*> are compliant with the COC for CJ, Linkshare, etc to know that they shouldn't just go ahead and steal your commission that you explicitly need to identify yourself as an affiliate site by appending &afsrc=1 to your redirect link.
Is this true, or am I misunderstanding how afsrc=1 is supposed to be used? (For instance, is it supposed to go in your actual affiliate link that your redirect script THEN sends the user to, instead?)
And if it is true, then by blocking the parasites who 'behave' from popping stuff up on your sites and stealing your commissions, you're still clearly identifying your site as an affiliate site, thus being devalued (or worse, dropped) from the SERPs.
Is this a catch-22? Get listed in the serps and raped by the parasites, or protect yourself from a handful of the parasites and be buried in the serps?