Hi,
I have a website that links out to another website, but I don't want that website to see that the traffic is coming from my website.
I want to hide my website as a referral and send them via anotherwebsite.com that I own and the traffic will look like it comes from that website. This is what I have so far:
So, if you come to anotherwebsite.com from originalwebsite.com, it will be forwarded to google.com
If you go to anotherwebsite.com from anywhere else, you will that website.
Good.
However, using this method, google will know that the traffic came from originalwebsite.com. I want to hide this!
Anyone can help?
I have a website that links out to another website, but I don't want that website to see that the traffic is coming from my website.
I want to hide my website as a referral and send them via anotherwebsite.com that I own and the traffic will look like it comes from that website. This is what I have so far:
PHP:
<?php
$incoming = $_SERVER['HTTP_REFERER'];
if(stristr(strtolower($incoming), 'originalwebsite.com') !== FALSE){
header('Location: http://google.com');
}
?>
So, if you come to anotherwebsite.com from originalwebsite.com, it will be forwarded to google.com
If you go to anotherwebsite.com from anywhere else, you will that website.
Good.
However, using this method, google will know that the traffic came from originalwebsite.com. I want to hide this!
Anyone can help?