"此网页有重定向循环"在Chrome但FF和IE浏览器工作正常? [英] "This webpage has a redirect loop" in Chrome but working fine on FF and IE?

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

问题描述

页面<一个href=\"http://www.japanforum.com/forum/japanese-language-help/39454-~tara-past-tense-clause.html\">http://www.japanforum.com/forum/japanese-language-help/39454-~tara-past-tense-clause.html可访问使用火狐/ IE /萨法尔/歌剧。

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?

推荐答案

我看来,你正试图重定向到正确的搜索引擎友好的URL,例如如果我去测试/ 39454-foo.html ,它重定向我测试/ 39454-〜塔拉 - 过去式,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的预期之一,重定向,如果他们不匹配。

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

不过,也有写同一个URI的多种方式。有些浏览器可能会发送 urlen codeD,有些可能不是,例如。

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.

这篇关于&QUOT;此网页有重定向循环&QUOT;在Chrome但FF和IE浏览器工作正常?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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