“该网页具有重定向环路”在Chrome中,但在FF和IE上工作正常? [英] "This webpage has a redirect loop" in Chrome but working fine on FF and IE?

查看:236
本文介绍了“该网页具有重定向环路”在Chrome中,但在FF和IE上工作正常?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

页面 http:/ /www.japanforum.com/forum/japanese-language-help/39454-~tara-past-tense-clause.html 可以使用FireFox / IE / Safar / Opera访问。

The page http://www.japanforum.com/forum/japanese-language-help/39454-~tara-past-tense-clause.html is accessible using FireFox / IE / Safar / Opera.

但是在Chrone上,页面不显示:

However on Chrone, the page doesn't display:

有谁知道可能是问题的原因?

Does anyone know what may be the cause of the problem?

或者说,这个现象的解释是什么?

Or rather, what is the explanation for this phenomenon?

推荐答案

我似乎正在尝试重定向到正确的SEO友好的URL,例如如果我去 test / 39454-foo.html ,它将我重定向到 test / 39454-〜tara-past-tense-clause.html

I appears that you are trying to redirect to the correct SEO-friendly URL, e.g. if I go to test/39454-foo.html, it redirects me to test/39454-~tara-past-tense-clause.html.

您将请求的URI与预期的URI进行比较,如果不匹配,则重定向。

You compare the requested URI to the expected one and redirect if they do not match.

但是,有多种方式可以编写相同的URI。某些浏览器可能会发送 urlencoded,有些可能不会。例如,

However, there are multiple ways of writing the same URI. Some browsers may send ~ urlencoded and some may not, for example.

所以你应该将两个URI进行比较。

So you should canonicalize both URIs before comparing them.

这篇关于“该网页具有重定向环路”在Chrome中,但在FF和IE上工作正常?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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