Masking Aff. Links

Status
Not open for further replies.

Jondoe0069

New member
Mar 21, 2007
1,317
19
0
Estados Unidos
I've never thought too much about it, but I've always masked my affiliate links by sending the link to something like mysite.com/offer which automatically redirects to the offer. My landing pages always have shitty QS no matter how great they are. Does google know that I'm just redirecting to the offer page? Should I use something like tiny URL instead?
 


The first one is a pretty basic script, this one is slightly more advanced, and could be very useful if you have lots of links to different offers on your website. What we'll need to do here is create a PHP file (named it "links.php"). Now all we need to do is include different statements (like ringtones, dating, loans, mortgage) to the links we create, and it will redirect to the correct URL. Use this format: hxxp://www.yoursitehere.com/link.php?offer=dating This comes in handy for affiliate marketing, since you can then manage all your links from one URL. Make sure you use robots.txt on your server, and disallow "links.php" there.

<?php
$offer = $_GET['offer'];
$type = $_GET['type'];

if ($offer == "ringtones")
{$jumplink= "http://www.yourlinkhere1.com";}


if ($offer == "dating")
{$jumplink= "http://www.yourlinkhere2.com";}


if ($offer == "loans")
{$jumplink= "http://www.yourlinkhere3.com";}

header("Location: ".$jumplink."&sub=".$type."");

?>
 
It doesn't matter, Google will still detect all of those redirects. Don't do direct linking-build a quality landing page and link from there.
 
Status
Not open for further replies.