Active
Project:
Global Redirect
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
29 Jul 2011 at 21:55 UTC
Updated:
8 Sep 2017 at 10:12 UTC
Jump to comment: Most recent
Comments
Comment #1
Georgii commentedI'm having the same problem. Trying to find a solution now, does anyone have any idea?
Comment #2
Georgii commentedEnded up with deletion of the following line
locale_language_url_rewrite_url($request_path, $options);Comment #3
pauleb commented+1
Having the same problem with language prefixes. I'll try #2 as soon as possible.
Comment #4
Georgii commented@pauleb
Write back with results please :)
Comment #5
Anonymous (not verified) commentedI tested #2 and it worked for my case.
But I think in some cases the url rewrite is necessary. So we need a "detection" to know when, and when not to call it.
Comment #6
niels_bjorndal commentedHas anybody got any further on this subject. I'm currently in the process of setting up a site for a client, and I'm experiensing the problem with the infinite redirect, when I have both I18 and Global Redirect enabled at once.
The problem is directly associated with the path prefix. /en for example. So if I disable this setting, the problems dissapears, so I guess, I could use a domain to detect the language to avoid the problem - but at the moment that is not possibly.
...so anybody got a solid solution to implement?
Comment #7
niels_bjorndal commentedI found a patch on this thread: http://drupal.org/node/1034126.
Comment #8
Anonymous (not verified) commentedOk I assume that works? Marking this as a duplicate of #1034126: Infinite loop (error 310) with i18n in D7
Comment #9
foripepe commentedI put the status of this issue active, because the latest Global Redirect module (7.x-1.5) still has this problem.
Eg. my URL become: nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/nl
And output in Chrome:
I have done a hot fix disabling the local_language_url_rewrite_url() function in line 82 in globalredirect.module:
Comment #10
foripepe commentedPS. The language detection in my system is "user" and "default", but not "URL":
admin/config/regional/language/configure