02
2025
07
15:30:09

infinityfree 免费虚拟主机空间,为什么我在网址末尾看到 ?i=1 Why do I see ?i=1 at the end of a URL

当你第一次打开你的网站时,你可能会看到网址末尾有额外的字符,比如?i=1。本文将解释更多关于是什么导致了这个问题,以及你可以采取什么措施。

什么导致了“?i=1”后缀?

这个额外的URL参数是我们用来保护您的网站的安全系统引起的。这个安全系统确保您的网站只能通过常规网页浏览器访问。

“?i=1”后缀有什么作用?

?i=1 后缀是一个计数器。当您首次加载网站时,一些Javascript将被发送到您的浏览器,以验证它可以执行代码并存储一个cookie。然后页面将重新加载,并带有?=1 后缀。在下一次请求时,服务器会检查您的浏览器是否具有安全系统cookie。如果没有,您的浏览器将获得一个新的安全挑战,以再次设置cookie,并重定向到带有后缀?i=2的URL。

如果计数器达到3,而你的浏览器仍然没有发送有效的cookie,你将被重定向到一个页面,该页面上有如何在浏览器中启用cookie的说明。这样,你的浏览器不会卡在重定向循环中。

我可以移除 ?i=1 URL 后缀吗?

负责?i=1后缀的安全系统在所有网站上都是强制性的。因此,该安全系统无法禁用,同样,URL后缀也无法禁用。

简单来说,你要花钱才能解决问题,花钱的没有这样的安全系统做限制。


When you first open your website, you may see the extra characters like ?i=1 at the end of your URL. This article explains more about what causes it, and what you can do about it.

What causes the ?i=1 suffix?

This extra URL parameter is caused by a security system we use to protect your website. This security system ensures that your website can only be accessed through regular web browsers.

What does the ?i=1 suffix do?

The ?i=1 suffix is a counter. When you first load your website, some Javascript will be sent to your browser to verify it can execute the code and store a cookie. The page will then reload with the ?=1 suffix. On the next request, the server checks if your browser has the security system cookie. If not, your browser will get a new security challenge to set the cookie again, and be redirected to a URL with suffix ?i=2.

If the counter hits 3 and your browser still doesn’t send a valid cookie, you’ll be redirected to a page with instructions on how to enable cookies in your browser. This way, your browser will not get stuck in a redirect loop.

Can I remove the ?i=1 URL suffix?

The security system responsible for the ?i=1 suffix is mandatory on all websites. Because of that, the security system cannot be disabled, so neither can the URL suffix.

Money Money ,you need cost money, does not have a security system like this.




推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

本文链接:https://www.hqyman.cn/post/12099.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:
打赏





休息一下~~


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

请先 登录 再评论,若不是会员请先 注册

您的IP地址是: