“This webpage has a redirect loop” in Chrome but working fine on FF and IE?

前端 未结 5 2074
说谎
说谎 2020-12-31 08:48

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

However on Chron

相关标签:
5条回答
  • 2020-12-31 09:26

    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.

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

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

    So you should canonicalize both URIs before comparing them.

    0 讨论(0)
  • 2020-12-31 09:26

    Double-check the redirection settings on your server. Add-on domains should not include "www." when being added. Without this, this will solve the redirection problem.

    0 讨论(0)
  • 2020-12-31 09:30

    Check whether all Google's cookies are allowed in your cookie settings (especially see the Manage Exceptions window).

    0 讨论(0)
  • 2020-12-31 09:32

    This can sometimes occurs if the URL-mapping of the page has one or more redirect-conditions. If the software behind tries to redirect to the same URL-mapper (->bad programming). The result is a loop of mapping und redirecting in the Controller.

    0 讨论(0)
  • 2020-12-31 09:35

    Okay, I faced the same issue couple of months ago and as mentioned in Solution 1 here, the culprit is the browser cookies.

    You can simply clear the cache and cookies of your browser and the problem will be fixed.

    0 讨论(0)
提交回复
热议问题