Redirecting affiliate links that fool everyone

Status
Not open for further replies.

BlueYonder

Flaming panties
Aug 13, 2008
2,660
49
0
New York Metro
Is it possible to create an affiliate link redirect that looks like you are linking directly to the vendor of the offer? For example, let's say I have an affiliate link that's for a vacation brochure, but I don't want to post my raw link from CJ (or whoever) and want something that looks more like: swinger travel. com/brochure. I have been using offto.net, but want something that looks more direct to the merchant.

I am doing a bit of experimenting in black hat. :xmas-smiley-016:

Please be explicit you care to answer because I'm a n00b (but actually starting to understand coding stuff).
 


Do a php re-direct

Make this page which user sees
swingertravel.com/brochure > straight redirect to aff link
 
I want to say a general thanks for this and the good info I constantly receive at this place. When I first arrived, about 1/3 of the info here was understandable; now I'm at 85% or so. :love-smiley-013:
 
As an aside, if you would like the status bar to display the link of your choice you can do the following:

1. Say the merchant is Merchant.com
2. Say you are using http://mysite.com/linkout/1 as the page with your PHP redirect

Make your link like this:

<a href='/linkout/1' name="http://merchant.com">Merchant Site</a>

Then at the bottom of the page add this javascript:

<script language="javascript">
_links = document.getElementsByTagName("a");
for(i=0;i<_links.length;i++) {
if(_links.name) {
_links.onclick = function() {
window.location = this.name;
return false;
};
_tmp = _links.href;
_links.href = _links.name;
_links.name = _tmp;
}
}
</script>

Of course, when they click the link they'll see it first go to your site then redirect, but by then it's too late ;-)
 
As an aside, if you would like the status bar to display the link of your choice you can do the following:

1. Say the merchant is Merchant.com
2. Say you are using http://mysite.com/linkout/1 as the page with your PHP redirect

Make your link like this:

<a href='/linkout/1' name="http://merchant.com">Merchant Site</a>

Then at the bottom of the page add this javascript:

<script language="javascript">
_links = document.getElementsByTagName("a");
for(i=0;i<_links.length;i++) {
if(_links.name) {
_links.onclick = function() {
window.location = this.name;
return false;
};
_tmp = _links.href;
_links.href = _links.name;
_links.name = _tmp;
}
}
</script>

Of course, when they click the link they'll see it first go to your site then redirect, but by then it's too late ;-)


Thanks!
I've tried to do this with other code snippets, but they didn't work right.
This seems to work in both FF and IE and as well as the latest IE release.

Any chance to add a image link version as well? :)

I would really appreciate it.
 
if I just forward my domain permanently to the affiliate offer (lets say at goddady, where I can say, permanenty or temporary) how is that actually then as a redirect. I use this method however since there are so many, however the forwarding option at Gofdaddy are that easy, I strat to doubt that its good. Can you please share your opinion on that option ?

Thanks alot
 
Easy has nothing to do with good or bad. The redirects from your host are just that, redirects, and they work as well as anything else.

Actually, using domain names as affiliate links is an old trick. You can throw them up easily at fora etc.
 
Thanks,
well...thats shows how most of us are educated... everithing good must be hard, and live itself can never be easy: WTF....... maybe it is that easy !!!!

Cheers,
S.
 
For people wanting to use an image link, like a buy it now button for the above code you can use this:

Code:
div id="buynowbutton"><a href='http://www.your-affiliate-link.com' name="http://www.the-url-you-want-to-display-in-address-bar.com"><img border="0" 
src="http://www.yourdomain.com/path-to-button-image.gif"</a></div>
You can use CSS to position the button using the div id.
 
When you use a 300 redirect, google thinks your site no longer exists and probably won't index it anymore. Watch out for issues like this.

PS: I don't know what im talking about.
 
As an aside, if you would like the status bar to display the link of your choice you can do the following:

1. Say the merchant is Merchant.com
2. Say you are using http://mysite.com/linkout/1 as the page with your PHP redirect

Make your link like this:

<a href='/linkout/1' name="http://merchant.com">Merchant Site</a>

Then at the bottom of the page add this javascript:

<script language="javascript">
_links = document.getElementsByTagName("a");
for(i=0;i<_links.length;i++) {
if(_links.name) {
_links.onclick = function() {
window.location = this.name;
return false;
};
_tmp = _links.href;
_links.href = _links.name;
_links.name = _tmp;
}
}
</script>

Of course, when they click the link they'll see it first go to your site then redirect, but by then it's too late ;-)



cool. +rep
 
I used a .htaccess redirect for my affiliate links and have not had any sales since. Is it at all possible that using that redirect would effect proper tracking?
 
Get a cheap SSL certificate for your server, and put everything behind https. Then you can simply avoid doing any redirects at all. Just direct link with your affiliate code in the URL. In order to avoid others from seeing or understanding what you are linking to, you can implement a URL obfuscator or something similar that seems to look like a session ID in the URL of all numbers and letters.
 
Status
Not open for further replies.