Double Meta Refresh and redirects

Status
Not open for further replies.
K, will test script and thanks.
This thread has been going for a while. Has anyone been caught by their cpa's yet using this script. Also wondering if anyone tested it using craigslist, myspace, so on.

One of my cpa's actually tells us to redirect and not to direct link. Which they are talking about emails, but still will use them mainly because if one does slip by they prob won't care.
Get back to me if been caught or if used on classifieds or social.
Thanks
 
I use the double meta refresh method with a couple adsense pages, it's kind of interesting though, using wireshark to sniff, the dart cookie request has a referral URL in IE but not in FF... could never figure out how to get around that.. it's just the way the browser works I believe...

dN
 
Hi
Please try this website:

hxxp://newurl.name
*change x to w

They offer redirect with double meta refresh for free.
 
Ok. this code doesn't work on IE7 but it is fine with FF.

does anybody has a solution for this?
 
The whole issue with DMR is that some browsers do keep the referer dispite the single meta refresh. Now as far as I am concerned the majority of users use firefox and IE and these browsers support perfectly the meta refresh. So the 2% that their browsers do not support the meta refresh can go f$c$ themselves. It is important that that 2% will NOT reach your affiliates page!!! So you check in the second page if the browser is behaving as it should (not showing the referer if the redirection was done with meta refresh).
 
[QUOTE
Go buy Genjutsu's eBook if you want to learn how to cookie stuff.[/QUOTE]

Where do you get this ebook? I cannot find the dang thing
 
My question is regarding affiliate networks, such as adbrite,adwords,bidvertizer etc, if all of your traffic referrers are blanked wouldn't that raise suspicion and cause the affiliate to flag you? surely some traffic has to be sent with referrers retained?

Or is it common place for websites in general to hide/blank referrers even if they arn't using black hat techniques or working PPC's on the sly?
 
Guys, I'm using this simple code to redirect:

Code:
<?PHP

header('Location: h t t p:// w w w.site.com');

?>

Is it enough to avoid that the CPA networks discover the original traffic source?
 
i tried this out. i made two pages (php)
page one redirected to page 2

Code:
<?php 

    { 

        echo "<meta http-equiv=\"refresh\" content=\"0;url=http://mylink1.php\">";     

    } 

?>

page two redirected to my offer

Code:
<?php 
     $referer = $_SERVER['HTTP_REFERER'];  
     { 
          echo "<meta http-equiv=\"refresh\"content=\"0;url=myafflink.com">";     
     } 
?>


you will notice i have removed the
Code:
IF (referrer="")
part from the second code. that is because with that in, page 2 didn't redirect to my aff link. in other words, it means that the referrer was probably not blanked, cause the page to stay as it is (since there is nothing in the ELSE part)

so, what exactly is the problem here, and how do i solve it? thanks
 
nope, it will be a dead giveaway to your cpa network where your traffic came from.

Sorry for my ignorance, but what tools do they use to discover the previous referrer site? I mean, the most used tools by the average webmasters (Google Analytics and Statcounter) can only tell the last website the visitors came from and not the previous ones... :confused:

Wait.

I was going to post this simple message but re-reading I noticed that maybe I didn't explain myself correctly.

The thing is this: I'm promoting a CPA offer on social networks. In these ADS I put as link the site which I subscribed to the CPA Network, using a page that redirects to the offer.

So:

ADS on social networks ---> redirect page on my legit site (using: <?PHP
header("location: h t tp:// ww w.cpaoffer.com"); ?> ) --> CPA offer

Using this method do you think that the CPA network is going to discover the real traffic source?
 
So? Anyone can clear my doubt?

Currently I'm running a quite profitable campaign using this method for redirecting, I need to know if I risk my CPA network taking over...
 
So:

ADS on social networks ---> redirect page on my legit site (using: <?PHP
header("location: h t tp:// ww w.cpaoffer.com"); ?> ) --> CPA offer

Using this method do you think that the CPA network is going to discover the real traffic source?

100% YES... You are not clearing the referrer all with that.

i tried this out. i made two pages (php)
page one redirected to page 2

Code:
<?php 

    { 

        echo "<meta http-equiv=\"refresh\" content=\"0;url=http://mylink1.php\">";     

    } 

?>

page two redirected to my offer

Code:
<?php 
     $referer = $_SERVER['HTTP_REFERER'];  
     { 
          echo "<meta http-equiv=\"refresh\"content=\"0;url=myafflink.com">";     
     } 
?>


you will notice i have removed the
Code:
IF (referrer="")
part from the second code. that is because with that in, page 2 didn't redirect to my aff link. in other words, it means that the referrer was probably not blanked, cause the page to stay as it is (since there is nothing in the ELSE part)

so, what exactly is the problem here, and how do i solve it? thanks

Well you are probably right, your referrer did not blank. So if you send them anyways then your target url will see a referrer.

What you can do if you know how (i don't) is to add a condition to say "if there is a referrer then go to yahoo or wherever. That way they do not stop at the page and keep it clean with the target link(affiliate link)...

Let me know if you can come up with that condition.
 
For reasons to laborious to go into now. The reason for the DOUBLE in DMR is because sometimes the client-side browser will not accept a blanking of the referrer. In such a case, you should protect yourself from "leakage" or the actual HTTP_Ref. That's why you have the second meta refresh. But the second set of script should have a conditional statement that tests if the client has accepted the blank referrer in the header. If so, you them on to the offer. If not, you should send them to an error page of some sort. (Better a lost commission than the ban hammer).

I have re-written the second section of code to test if the blanking occurs.


The code that had been floating around here did the double meta, but for no good reason. Having the double is useless UNLESS you test for blanking or the ref. Hence, DMR.
You should loop it, increases success rate:

PHP:
<?php
$x = "?test=2";
$referer=$_SERVER['HTTP_REFERER'];

if (isset($_REQUEST["test"]) && $_REQUEST["test"]!='') {
IF ($referer=="")
{
echo "<meta http-equiv=\"refresh\"content=\"0;url=myafflink.com\">";
}else{
echo "<meta http-equiv=\"refresh\"content=\"0;url=alternatepage.com\">";
}
}
IF ($referer=="")
{
echo "<meta http-equiv=\"refresh\"content=\"0;url=myafflink.com\">";
}else{
echo "<meta http-equiv=\"refresh\"content=\"0;url=$x\">" ;
}
?>
 
thankya very much, this is what i am looking for ;) I'm just wondering if to put it on freehost or on my website, most likely free host.

You need to add that if referrer still exist it'll redirect to the redirectors. Keep doing it till referer is empty and then you go to the site.
 
For reasons to laborious to go into now. The reason for the DOUBLE in DMR is because sometimes the client-side browser will not accept a blanking of the referrer. In such a case, you should protect yourself from "leakage" or the actual HTTP_Ref. That's why you have the second meta refresh. But the second set of script should have a conditional statement that tests if the client has accepted the blank referrer in the header. If so, you them on to the offer. If not, you should send them to an error page of some sort. (Better a lost commission than the ban hammer).

I have re-written the second section of code to test if the blanking occurs.


The code that had been floating around here did the double meta, but for no good reason. Having the double is useless UNLESS you test for blanking or the ref. Hence, DMR.

It did not work so I re-wrote it a bit... This one works for me.. Again this is for the 2nd redirect file that you will point the first file to go to.

Bonehead: Thanks for the "else condition"

PHP:
<?php

    $referer = $_SERVER['HTTP_REFERER'];

    if($referer == "")
    
{

echo "<meta http-equiv=\"refresh\"content=\"0;url=http://yahoo.com\">";

}else{

echo "<meta http-equiv=\"refresh\"content=\"0;url=http://gnome.com\">";

}
?>
 
Why is that? Do certain client-side settings eventually take the blank? Otherwise, it seems you run the risk of getting your traffic caught in an infinite loop.

@seikooc

np. The code is not exactly correct. I rushed it, but someone with a little PHP background should get the gist I think. Gimme4Free added more than I do, but essentially filled in the gaps (I think) for the PHP n00b.

I corrected the script in my post above... Thanks again for the condition to apply if it's not blanked...
 
You should loop it, increases success rate:

PHP:
<?php
$x = "?test=2";
$referer=$_SERVER['HTTP_REFERER'];

if (isset($_REQUEST["test"]) && $_REQUEST["test"]!='') {
IF ($referer=="")
{
echo "<meta http-equiv=\"refresh\"content=\"0;url=myafflink.com\">";
}else{
echo "<meta http-equiv=\"refresh\"content=\"0;url=alternatepage.com\">";
}
}
IF ($referer=="")
{
echo "<meta http-equiv=\"refresh\"content=\"0;url=myafflink.com\">";
}else{
echo "<meta http-equiv=\"refresh\"content=\"0;url=$x\">" ;
}
?>

Can you please give more instructions on how to use this script. Like where do fill in the blanks???
 
Status
Not open for further replies.
Back
Top