Affiliate Link Masking

Status
Not open for further replies.

cegeland

New member
Nov 27, 2007
25
0
0
Does anyone know of a good affiliate link masking plugin for Wordpress? I looked around and found a few but they didn't appear to be compatible with the latest version of Wordpress.
 


datawtfdp3.jpg
 
Just so you know I replied because some other guy replied about buying his ebook but it appears to have been removed.
 
You could also create your own script called go.php or click.php or whatever you want.

Here is an example of what it would look like

Code:
<?php

//file go.php

$url = array (
                 "aff1" => "http://affiliate1.com",
                 "aff2" => "http://affiliate2.com",
                 "aff3" => "http://affiliate3.com"
                 );

header("location: " . $url[$_GET['id']]);
?>
Then you could set your links up like

Code:
<a href="go.php?id=aff1">aff1</a>
You can add as many affiliate links to that array as you would like. Just make sure to put a comma after each one except the last one.
 
I also use White Shadow's Link Cloaking plugin mentioned by rgordon. It has the advantage of automatically cloaking links, but giving you the option to create static mappings, which can then be combined with aLinks to automatically insert text links into your posts.

The author is very responsive to feedback/questions.
 
why don't you just frame it and and the affiliate inside: <frame>what ever your link here </frame> but this is not good for SEO just be warned
 
Status
Not open for further replies.