阻止重定向到我的网站 [英] block redirection to my site

查看:117
本文介绍了阻止重定向到我的网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
最近,我发现其他一些网站重定向到我的网站
例如,我的网站名称是 mysite.com ,但是另一个具有相同域名(例如 mysite.org )的网站重定向到我的地址,我不希望用户从提到的地址重定向访问我的网站,如果有人帮助我克服了这个问题,我将非常感谢
我的网站基于asp.net
谢谢大家

hi everyone
recently I`ve found that some other sites redirect to my website
as an example my site name is mysite.com but another one who has same domain like mysite.org redirects to my address , i don`t want users redirect from mentioned address to my website , i`d really appreciate if anyone help me to overcome to this issue
my site is based on asp.net
thank you all

推荐答案

我不是专家,但是您可以从客户端请求引荐来源网址HTTP标头.

http://msdn.microsoft.com/zh-CN/library/system.web.httprequest.headers.aspx

可能会有帮助.
I''m no expert but you could request the referrer http header from the client.

http://msdn.microsoft.com/en-us/library/system.web.httprequest.headers.aspx

may help.


这篇关于阻止重定向到我的网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆