在我的网站上,我希望能够删除引荐来源,以便不显示我的流量来自哪里。
以下是一个例子:
Site 1 - http://www.examplesite1.com (traffic source)
Site 2 - https://www.examplesite2.com (site to redirect through, notice it is redirecting over a SSL connection)
Site 3 - http://www.partnerssite.com (where i want to push traffic from examplesite1.com, the "referer" header should be dropped, because it is redirecting from a HTTP Secure to a Non-secure HTTP)
我在Site 1中有以下代码:
<?php
header("Location: https://redirect/to/site2");
?>
在网站2中:
<?php
header("Location: http://www.partnerssite.com");
?>
但是每次运行脚本时,“站点1”中的引荐来源都会被泄露。
你可以帮我解决这个问题吗?我们非常欢迎所有帮助和提示。感谢