|
|
|
 |

08-15-2008, 08:56 AM
|
|
Registered Member
|
|
Join Date: Apr 2008
Posts: 69
Thanks: 3
Thanked 102 Times in 6 Posts
Activity: 5%
Longevity: 20%
Today: 0/5
|
|
Link Cloakers/Maskers & Redirects that KEEP the referrer
Hey everyone,
My request is a bit different from the usual... 'how do i hide my referrer?'
Are there any link cloakers/maskers that will KEEP my referrer.
For example... If someone is on my landing page...
Landing Page---> User clicks on cloaked link -->Merchant landing page
I want the networks to see my landing page as the referrer, but dont want to use my 'naked' affiliate link.
This is what i came up with from researching the forums... but i find conflicting opinions so i just want to make sure.
The following will work:
tinyurl
php redirect
javascript redirect
anything else?
|
|
The Following User Says Thank You to hardsoft For This Useful Post:
|
|

08-15-2008, 09:09 AM
|
 |
Executive VIP
|
|
Join Date: Mar 2008
Posts: 1,245
Thanks: 110
Thanked 411 Times in 160 Posts
Activity: 62%
Longevity: 22%
Today: 2/5
|
|
Re: Link Cloakers/Maskers & Redirects that KEEP the referrer
php redirect will keep your referer.
If you want to send someone to ebay affiliate link.
ebay.php
<?php
header('Location: http://www.ebayaffiliatelink.com/');
?>
cloaked link looks like this: Visit Ebay Today
You can also be a little more fancy and use htaccess, same story different day.
|
|
The Following 3 Users Say Thank You to Genjutsu For This Useful Post:
|
|

08-15-2008, 09:22 AM
|
|
Jr. VIP
|
|
Join Date: Feb 2008
Posts: 460
Thanks: 39
Thanked 17 Times in 15 Posts
Activity: 28%
Longevity: 25%
Today: 1/5
|
|
Re: Link Cloakers/Maskers & Redirects that KEEP the referrer
gen -
can i take garbage traffic and clean referer with a double-refresh then somehow redirect it to show a referer of my choice?
sort of like if the ref was junktraffic.com how could i change it into mysite.com/index.php?
|

08-15-2008, 09:42 AM
|
 |
Executive VIP
|
|
Join Date: Mar 2008
Posts: 1,245
Thanks: 110
Thanked 411 Times in 160 Posts
Activity: 62%
Longevity: 22%
Today: 2/5
|
|
Re: Link Cloakers/Maskers & Redirects that KEEP the referrer
yes its possible to do that. and you dont need a double meta to clear it first.
You want to setup a page like below and send your traffic to it.
sendtraffictothispage.html
<body onload="javascript:frmForcedReferrer.submit();">
<form action="http://www.yoursite.com/redirect.php" method="post" name="frmForcedReferrer">
</form>
This should do the trick, http://www.yoursite.com/redirect.php should be a php file with code similar to what i posted in my last post in this thread. Just a simple php redirect.
The referer that your affiliate would see is http://www.yourdomain.com/sendtraffictothispage.html
This is normally bad, but if you know how to cloak that page so only traffic from certain referers are allowed to be redirected, your golden.
Remember to test it first by using a test.php file to log the referers and make sure all browsers work correctly.
Last edited by Genjutsu; 08-15-2008 at 09:45 AM.
|
|
The Following 7 Users Say Thank You to Genjutsu For This Useful Post:
|
|

08-15-2008, 06:49 PM
|
|
Newbie
|
|
Join Date: Aug 2008
Posts: 21
Thanks: 2
Thanked 5 Times in 3 Posts
Activity: 8%
Longevity: 9%
Today: 0/5
|
|
Re: Link Cloakers/Maskers & Redirects that KEEP the referrer
Awesome. I know I'm not supposed to spam the forum with 'thank you' posts, but I'm a JS-retard and this is just totally awesome for me.
|

08-15-2008, 07:49 PM
|
|
Registered Member
|
|
Join Date: Apr 2008
Posts: 69
Thanks: 3
Thanked 102 Times in 6 Posts
Activity: 5%
Longevity: 20%
Today: 0/5
|
|
Re: Link Cloakers/Maskers & Redirects that KEEP the referrer
thanks gen... i feel confident when advice is coming from you
|

08-15-2008, 07:51 PM
|
|
Jr. VIP
|
|
Join Date: May 2008
Posts: 240
Thanks: 37
Thanked 47 Times in 31 Posts
Activity: 51%
Longevity: 16%
Today: 2/5
|
|
Re: Link Cloakers/Maskers & Redirects that KEEP the referrer
Nice work...no js background here either. Gen, I'm also assuming (I know, never assume) that you could put more than 1 form action site reference. i.e. have sendtraffictothispage.html be kind of a traffic catchall and then "distribute" it evenly to several sites equally?
|

08-15-2008, 08:33 PM
|
 |
Executive VIP
|
|
Join Date: Mar 2008
Posts: 1,245
Thanks: 110
Thanked 411 Times in 160 Posts
Activity: 62%
Longevity: 22%
Today: 2/5
|
|
Re: Link Cloakers/Maskers & Redirects that KEEP the referrer
Quote:
Originally Posted by bobfrapples
Nice work...no js background here either. Gen, I'm also assuming (I know, never assume) that you could put more than 1 form action site reference. i.e. have sendtraffictothispage.html be kind of a traffic catchall and then "distribute" it evenly to several sites equally?
|
yes, you could do that, but it would probably be better to do the redirection in the php file it should be redirecting to. In this case ebay.php could be renamed to redirect.php, redirect.php would then pull destinations from an array, or directly from a database. I have a program that does something very similar right now in beta test. If its automated profit, ill consider sharing/selling it.
|
|
The Following User Says Thank You to Genjutsu For This Useful Post:
|
|

08-18-2008, 01:29 PM
|
|
Jr. VIP
|
|
Join Date: May 2008
Posts: 240
Thanks: 37
Thanked 47 Times in 31 Posts
Activity: 51%
Longevity: 16%
Today: 2/5
|
|
Re: Link Cloakers/Maskers & Redirects that KEEP the referrer
Quote:
Originally Posted by Genjutsu
yes its possible to do that. and you dont need a double meta to clear it first.
You want to setup a page like below and send your traffic to it.
sendtraffictothispage.html
<body onload="javascript:frmForcedReferrer.submit();">
<form action="http://www.yoursite.com/redirect.php" method="post" name="frmForcedReferrer">
</form>
This should do the trick, http://www.yoursite.com/redirect.php should be a php file with code similar to what i posted in my last post in this thread. Just a simple php redirect.
The referer that your affiliate would see is http://www.yourdomain.com/sendtraffictothispage.html
This is normally bad, but if you know how to cloak that page so only traffic from certain referers are allowed to be redirected, your golden.
Remember to test it first by using a test.php file to log the referers and make sure all browsers work correctly.
|
To check for referrer first, can you just insert the js in the middle of the code, like this? If it's coming from the traffic source, it processes the redirect but if it's not coming from the traffic source, then it just processes the page normally. I'm guessing that you can combine js and php in one command but I just don't know how.
<?php
$referer = $_SERVER['HTTP_REFERER'];
if($referer == "mytrafficsource.html")
{
<body onload="javascript:frmForcedReferrer.submit();">
<form action="http://www.yoursite.com/redirect.php" method="post" name="frmForcedReferrer">
</form>
}
?>
|

08-19-2008, 09:07 AM
|
 |
life's prag
|
|
Join Date: Feb 2008
Posts: 130
Thanks: 25
Thanked 16 Times in 14 Posts
Activity: 5%
Longevity: 23%
Today: 0/5
|
|
Re: Link Cloakers/Maskers & Redirects that KEEP the referrer
It's amazing how a couple of messages in one thread are more helpful than most the ther forums out there in total
|
|
The Following User Says Thank You to polymorphs For This Useful Post:
|
|

09-07-2008, 11:57 AM
|
|
Newbie
|
|
Join Date: Oct 2007
Posts: 45
Thanks: 33
Thanked 4 Times in 3 Posts
Activity: 22%
Longevity: 37%
Today: 0/5
|
|
Re: Link Cloakers/Maskers & Redirects that KEEP the referrer
This looks to be just what I need but I cannot get the code to pass the referrer from my index.php
This is what I have like suggested in my domains index.php file.
<?php
header('Location: https://MyAffiliateLink/');
?>
When I check my affiliate logs of where my traffic is coming from it's blank. Could it be beacause I'm redirecting to a https: domain?
Also, would I have to advertise my domain as MyDomain.com or MyDomain.com/index.php to get the redirect to work properly. I want to show my referring domain so I can track how my different forms of advertising are doing.
Any ideas what could be up?
|

09-07-2008, 08:45 PM
|
|
|
|
Join Date: Sep 2008
Posts: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Activity: 0%
Longevity: 5%
Today: 0/5
|
|
Re: Link Cloakers/Maskers & Redirects that KEEP the referrer
It's not that its from https. that redirect code sends either null or the previous page as the referrer.
Site A
Site B
Site C
I'm looking for code that will send something from site B to site C with site B being the referrer(it all comes initially from site A).
I've succeeded in doing this a few different ways but there is always some little hiccup. Would love to hear what others have to say.
| |