Hi guys,
I need to pass my site or any domain i own as referrer.
I am doing the following right now:
Bought traffic -> mysite.com/A (301 Redirect) -> mysite.com/B (GEO script there and again 301 redirect) -> Offer/ desired destination
Normally it should show mysite.com/A as referrer, but it shows the domains from the adnetwork i bought the traffic from...
I even tried meta refresh, but it still doesn't show my site.
I am testing this via adf.ly and as Offer i use a website that displays your referrer. So i shorten my URL and when i see "adf.ly" i know that something is wrong.
Can anyone help me with this? Does
if you want to null the referrer just use this http://nullrefer.com/?http://yourdomainname.com
EDIT: Just read your post carefully, if you want to pass the referrer - you dont have to do anything.
Your site -> Offer url -> That's enough
Adf.ly? they load your lander within an iframe right? That might be why you're getting some leaks. Try a double meta refresh, usually does the trick.
<?php
$searchlink = 'http://www.domain3.com/tmp/showreferer.php';
$hidedomain = 'domain1.com';
if(strpos($_SERVER[‘HTTP_REFERER’],$hidedomain) !== false) {
echo ‘<html><head><title>Loading…</title></head><body>’;
echo “<meta http-equiv=\”refresh\” content=\”0;url=”.’http://’.$_SERVER[‘HTTP_HOST’].$_SERVER[‘REQUEST_URI’].”\”>”;
echo ‘</body></html>’;
exit;
}
header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: $searchlink”);
exit();
@bobliu
I only shrink my link with them and some other ad is in the iframe. This way adf.ly is before my URL and mimicks the adnetworks domains.
@ i_am_positive
I thought the same, but it's not the case. Also i am talking about referrer so means the site before "Your site". Adnetworks can see that.
O.k. i just tried the following:
Bought traffic -> mysite.com/A (meta refresh) -> mysite.com/B (GEO script there and again 301 redirect) -> Offer/ desired destination
After the meta refresh it shows mysite.com/A as referrer which is good.
Only issue is i see the page for a moment and it's slower than a normal 301 redirect.
Doing the same thing with
@thunderx3 you still see the page for a moment. check the hop links and you'll see. It's just that the intermediary page is blank.
For double meta redirect there has to be an intermediary page. No way around it.