douju2331 2013-01-13 18:01
浏览 182
已采纳

如何屏蔽地址栏中的引荐URL

Let's say I have a referral URL http://www.example.com/r?ref=86745348 and I want to completely hide the r?ref=86745348 part of the URL from my visitors.

I've tried this approach:

<?php
header("Location: http://www.example.com/r?ref=86745348");
exit;
?>

and I've tried url shortners like TinyURL.

All my attempts hide the URL in the hyperlink, but do not hide the URL in the address bar in the user's browser.

No matter what I do, once the user lands on the referral page, they can see the referral link, delete it, and cheat me out of my referral.

So my question is, how can I hide the referral link from the address bar?

  • 写回答

6条回答 默认 最新

  • dsgtew3241 2013-01-13 19:04
    关注

    I agree with @duskwuff. This is wrong... But just for the knowledge scope. This will work. Create a HTML page with the following code and send users to this page.

    <iframe src="http://www.example.com" width="100%" height="1024"></iframe>
    

    IDEA: To load a Page A inside Page B using a full page iframe to hide url of Page A

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(5条)

报告相同问题?

悬赏问题

  • ¥20 iqoo11 如何下载安装工程模式
  • ¥15 本题的答案是不是有问题
  • ¥15 关于#r语言#的问题:(svydesign)为什么在一个大的数据集中抽取了一个小数据集
  • ¥15 C++使用Gunplot
  • ¥15 这个电路是如何实现路灯控制器的,原理是什么,怎么求解灯亮起后熄灭的时间如图?
  • ¥15 matlab数字图像处理频率域滤波
  • ¥15 在abaqus做了二维正交切削模型,给刀具添加了超声振动条件后输出切削力为什么比普通切削增大这么多
  • ¥15 ELGamal和paillier计算效率谁快?
  • ¥15 蓝桥杯单片机第十三届第一场,整点继电器吸合,5s后断开出现了问题
  • ¥15 file converter 转换格式失败 报错 Error marking filters as finished,如何解决?