Hide or fake referer

conexur

Junior Member
Joined
Sep 2, 2012
Messages
177
Reaction score
72
Hi:

Happy holidays for everyone!

I have a legit source of traffic but all the visitors come from same domain and I think this will be a problem in the future, so I want to appear more natural and dilute the referer on different domains. At this moment I have coded a simple php script with an array with search engines that still use redirect scripts so I can get that website as referer and is working but I only find 4/5 of this websites.

How do you fake referer on 2018/19 or do you know a list of websites using redirect script to link another websites?

Thanks very much.

PS: If you want to know the list of websites Im using please PM.
 
Let's say you have a landing page example.com.

Now what you could do is register 9-10 cheap domains (ones which cost a $1 or $2). Now you should not add the affiliate link directly on the landing page. Use the cheap domains to "html redirect" to the affiliate link. This way, only the cheap domains will show as the traffic source and not the landing page. You could buy as many domains as you like.

If I remember correctly, there is also a script for removing the referrer which was shared on BHW. Can't remember it now.
 
Let's say you have a landing page example.com.

Now what you could do is register 9-10 cheap domains (ones which cost a $1 or $2). Now you should not add the affiliate link directly on the landing page. Use the cheap domains to "html redirect" to the affiliate link. This way, only the cheap domains will show as the traffic source and not the landing page. You could buy as many domains as you like.

If I remember correctly, there is also a script for removing the referrer which was shared on BHW. Can't remember it now.

Good idea, thanks! But I want to appear more real, so new and no content domains will sound suspicious, for this reason I'm using old established search engines and directories.
 
use HTaccess and set the referrer you want or keep it empty which is also an option
 
Good idea, thanks! But I want to appear more real, so new and no content domains will sound suspicious, for this reason I'm using old established search engines and directories.

So i might have what you're looking for. i wrote a script that will redirect your user who clicks a link on your domain to your affiliate link but only after passing through another secondary Website & domain name you own.

it essentially uses the second domain name & website as the referer, but the best part is that it is undetectable! when someone visits the page from your main domain link they get redirected to the secondary link. but if someone visits your secondary link directly, they get greeted with an html5 landing page, which you could make it look like another website entirely with your affiliate links on it thereby having 2 different money sites.

if they disable javascript then visit the secondary link, they still get greeted by the html5 landing page. its quite a genius script, and i am going to hand it over to you absolutely free. :p

this script requires that you place it on a secondary domain name. you must download an html5 template that you wish to use. your host has to be setup to load index.php first before index.html. place both your index.html and index.php in the same folder. edit the script to include your master domain name, the one you are sending your traffic from. edit your affliate link and away you go! :p

and finnally Here's the script!

PHP:
<?php
//THIS SCRIPT IS TO BE PLACED ON MANY DIFFERENT DOMAIN NAMES.
$YourWhiteHatDomain = "http://yourmasterdomain.com";
$AffiliateLink = "http://youraffiliatelink.com";
$var2 = "";
session_start();
if(isset($_SERVER['HTTP_REFERER']))
{
if(!isset($_SESSION['org_referer']))
{
    $_SESSION['org_referer'] = $_SERVER['HTTP_REFERER'];
    $var2 = $_SESSION['org_referer'];

}
}
$var2 = $_SESSION['org_referer'];

 



//DEBUG REFERER - REMOVE THE // BELOW TO DEBUG YOUR REFERER
//echo "your referer: $var2";

if($var2 == $YourWhiteHatDomain){
    $var3 = "window.location.href='$AffiliateLink';";
        echo ' <script> function myFunction() { document.getElementById("myCheck").click(); } </script>';
    echo '<body  OnLoad="myFunction()"> <button  style="display:none" id="myCheck" onclick="'.$var3.'">>Continue</button></p> </body> ';
    echo '<noscript>  '.$html = file_get_contents("http://localhost/index.html");    $html.'</noscript>';
}
       
   
    else{
   
    //Extra Redirect below script in case you dont want a hidden button -- remove /* and */ and the html code
    /*
echo "<script>";
echo "window.location.href='$AffiliateLink';</script>";
*/

  $html = file_get_contents("http://localhost/index.html");
    }
   


?>

<?php if(isset($html)) echo $html ?>
 
So i might have what you're looking for. i wrote a script that will redirect your user who clicks a link on your domain to your affiliate link but only after passing through another secondary Website & domain name you own.

it essentially uses the second domain name & website as the referer, but the best part is that it is undetectable! when someone visits the page from your main domain link they get redirected to the secondary link. but if someone visits your secondary link directly, they get greeted with an html5 landing page, which you could make it look like another website entirely with your affiliate links on it thereby having 2 different money sites.

if they disable javascript then visit the secondary link, they still get greeted by the html5 landing page. its quite a genius script, and i am going to hand it over to you absolutely free. :p

this script requires that you place it on a secondary domain name. you must download an html5 template that you wish to use. your host has to be setup to load index.php first before index.html. place both your index.html and index.php in the same folder. edit the script to include your master domain name, the one you are sending your traffic from. edit your affliate link and away you go! :p

and finnally Here's the script!

PHP:
<?php
//THIS SCRIPT IS TO BE PLACED ON MANY DIFFERENT DOMAIN NAMES.
$YourWhiteHatDomain = "http://yourmasterdomain.com";
$AffiliateLink = "http://youraffiliatelink.com";
$var2 = "";
session_start();
if(isset($_SERVER['HTTP_REFERER']))
{
if(!isset($_SESSION['org_referer']))
{
    $_SESSION['org_referer'] = $_SERVER['HTTP_REFERER'];
    $var2 = $_SESSION['org_referer'];

}
}
$var2 = $_SESSION['org_referer'];

 



//DEBUG REFERER - REMOVE THE // BELOW TO DEBUG YOUR REFERER
//echo "your referer: $var2";

if($var2 == $YourWhiteHatDomain){
    $var3 = "window.location.href='$AffiliateLink';";
        echo ' <script> function myFunction() { document.getElementById("myCheck").click(); } </script>';
    echo '<body  OnLoad="myFunction()"> <button  style="display:none" id="myCheck" onclick="'.$var3.'">>Continue</button></p> </body> ';
    echo '<noscript>  '.$html = file_get_contents("http://localhost/index.html");    $html.'</noscript>';
}
      
  
    else{
  
    //Extra Redirect below script in case you dont want a hidden button -- remove /* and */ and the html code
    /*
echo "<script>";
echo "window.location.href='$AffiliateLink';</script>";
*/

  $html = file_get_contents("http://localhost/index.html");
    }
  


?>

<?php if(isset($html)) echo $html ?>


Thanks for sharing your script.

You can also easily achieve this using link shorteners.
 
No need to fake the referrer. Use Blogger, WordPress, or similar service to create landing pages with a button to the destination page. All the referral traffic will be from the landing pages.
 
Thanks for sharing your script.

You can also easily achieve this using link shorteners.

So say if I was sending an email and shortened a url in a message to someone, then the referer would not be gmail or google , but the shortening services' domain?
I've been fearful for quite a while about this and always avoided it because I thought I had read before somewhere that the original referer would still show ....
 
The shortener services I have tested are transparent with the redirection so don't count as referer on analytics, the Blogger or WP option require the action of the user to make click, a lot of traffic will be lost.
 
You can hide your referrer easily using http://noreferrer.org/
 
So i might have what you're looking for. i wrote a script that will redirect your user who clicks a link on your domain to your affiliate link but only after passing through another secondary Website & domain name you own.

it essentially uses the second domain name & website as the referer, but the best part is that it is undetectable! when someone visits the page from your main domain link they get redirected to the secondary link. but if someone visits your secondary link directly, they get greeted with an html5 landing page, which you could make it look like another website entirely with your affiliate links on it thereby having 2 different money sites.

if they disable javascript then visit the secondary link, they still get greeted by the html5 landing page. its quite a genius script, and i am going to hand it over to you absolutely free. :p

this script requires that you place it on a secondary domain name. you must download an html5 template that you wish to use. your host has to be setup to load index.php first before index.html. place both your index.html and index.php in the same folder. edit the script to include your master domain name, the one you are sending your traffic from. edit your affliate link and away you go! :p

and finnally Here's the script!

PHP:
<?php
//THIS SCRIPT IS TO BE PLACED ON MANY DIFFERENT DOMAIN NAMES.
$YourWhiteHatDomain = "http://yourmasterdomain.com";
$AffiliateLink = "http://youraffiliatelink.com";
$var2 = "";
session_start();
if(isset($_SERVER['HTTP_REFERER']))
{
if(!isset($_SESSION['org_referer']))
{
    $_SESSION['org_referer'] = $_SERVER['HTTP_REFERER'];
    $var2 = $_SESSION['org_referer'];

}
}
$var2 = $_SESSION['org_referer'];

 



//DEBUG REFERER - REMOVE THE // BELOW TO DEBUG YOUR REFERER
//echo "your referer: $var2";

if($var2 == $YourWhiteHatDomain){
    $var3 = "window.location.href='$AffiliateLink';";
        echo ' <script> function myFunction() { document.getElementById("myCheck").click(); } </script>';
    echo '<body  OnLoad="myFunction()"> <button  style="display:none" id="myCheck" onclick="'.$var3.'">>Continue</button></p> </body> ';
    echo '<noscript>  '.$html = file_get_contents("http://localhost/index.html");    $html.'</noscript>';
}
      
  
    else{
  
    //Extra Redirect below script in case you dont want a hidden button -- remove /* and */ and the html code
    /*
echo "<script>";
echo "window.location.href='$AffiliateLink';</script>";
*/

  $html = file_get_contents("http://localhost/index.html");
    }
  


?>

<?php if(isset($html)) echo $html ?>

Thanks for the script mate
 
Back
Top