homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Advertising / Affiliates
Forum Library, Charter, Moderators: eljefe3 & skibum

Affiliates Forum

Affiliate Link Cloaking

5+ Year Member

Msg#: 11382 posted 10:25 pm on Mar 24, 2006 (gmt 0)

There are several threads here mentioning aff link cloaking but none that I could find that tells me how.

Just to make sure I'm talking about the right thing, I want to prevent aff hijacking by people viewing the source code.

Could someone point me to a source that tells how or recommend software that does this?



10+ Year Member

Msg#: 11382 posted 5:42 pm on Mar 25, 2006 (gmt 0)

I find the easiest way to do this is to send it to another page on your site that has a response.redirect in asp or using header( "Location in php. (I don't like javascript, so I have never done it with that, but it could be done.)
basically you would have your regular page with all your content and then when they click a link to xyz merchant they are sent somewhere like: www.yourdomain.com/sendtoxyz.php and then the code on that page (sendtoxyz.php) would be:

header( "Location: YourAffiliateLinkWithHTTPHere");

That is if you are using php of course. same thing applies for asp, make the affiliate links go to www.yourdomain.com/sendtoxyz.asp and then your page sendtoxyz.asp would simply be:



10+ Year Member

Msg#: 11382 posted 10:16 am on Mar 26, 2006 (gmt 0)

Remember to disallow sendtoxyz.php (or sendtoxyz.asp) in robots.txt


Shawn Collins

10+ Year Member

Msg#: 11382 posted 1:01 pm on Mar 28, 2006 (gmt 0)

I like .htaccess redirects, as I can easily manage all of my redirects for a site in one file.

Search for ".htaccess redirect" and there will be sites that explain how to set it up.


10+ Year Member

Msg#: 11382 posted 2:57 pm on Mar 29, 2006 (gmt 0)

Clicktracker from Focalmedia works great. It's a free cgi program and uses a MySql database.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Advertising / Affiliates
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved