How do you mask affiliate links

Status
Not open for further replies.


Basically, you want to create a handler in your server-side code. You will pass query strings to that handler through HTML links on your page. The handler will then parse the query strings and redirect to the affiliate link.

So on your landing page, your affiliate links are cloaked by linking to "pages" on your own site, but the server-side code handles it all so there really is no redirect "page", just the handler that redirects automatically based on the link's query string.
 
Well, I usually use this mask:
jason-mask-part6.jpg


But when I put my Shoemoney fan hat on and I really start to do some Serious Marketing, I use my secret weapon:
d7_2.JPG
 
Damn, George Clooney's looking rough these days?!
Naah, all my George Clooney masks are like that nowadays.. I just keep forgetting that you can't vomit with the mask on after a rough bar night...
 
I think this is what you are looking for....

create a link on the page with your affiliate ad that links to another page within your domain. Lets call it example.com/redirect.html

Then create a page called redirect.html with the only thing on that page being this code.

<?php
header
('location: http:/www.THE_URL_YOU_Want_to_Redirect_to.com');
?>


I found this a few days ago from another posting on the site. Sorry I dont remember who to give credit to, but it was not me :anon.sml:.
 
create a link on the page with your affiliate ad that links to another page within your domain. Lets call it example.com/redirect.html

Then create a page called redirect.html with the only thing on that page being this code.

<?php
header
('location: http:/www.THE_URL_YOU_Want_to_Redirect_to.com');
?>


I found this a few days ago from another posting on the site. Sorry I dont remember who to give credit to, but it was not me :anon.sml:.
And before anyone wastes their time:

NO - THIS DOES NOT WORK WITH ADWORDS

Your ad will be disapproved by staff. Believe, I have tried ;)
 
really? adwords hasn't disapproved any of my sites when I tried with the header redirect...
 
really? adwords hasn't disapproved any of my sites when I tried with the header redirect...
Wow, that's weird :)

I mean all my header redirects have been disapproved. And I actually came to a conclusion that their adsbot can tell if it's being redirected by header. Well it should, it's quite easy to detect.
 
Wow, that's weird :)

I mean all my header redirects have been disapproved. And I actually came to a conclusion that their adsbot can tell if it's being redirected by header. Well it should, it's quite easy to detect.

Are you using a redirect page as your adwords destination URL, or are linking to the redirect page from your landing page?

Also, does setting the Location: parameter like that in PHP automatically change the statuscode? You might want to check that your HTTP Status code is being set to 302 or 301 as well.
 
Are you using a redirect page as your adwords destination URL, or are linking to the redirect page from your landing page?

Also, does setting the Location: parameter like that in PHP automatically change the statuscode? You might want to check that your HTTP Status code is being set to 302 or 301 as well.
I was talking about redirect page as destination url so that when visitor clicks my ad, he'll be redirected immediately without even seeing my landing page.
 
I was talking about redirect page as destination url so that when visitor clicks my ad, he'll be redirected immediately without even seeing my landing page.

Pretty much all affiliate networks do that anyway (you go to a network page that redirects to the merchant's site), so if google disallowed that, it would pretty much kill all direct-to-merchant affiliate sales. Use a server header checker to make sure your redirects are properly formed.
 
Status
Not open for further replies.