User login

Too many redirects, page fails to load issue with i18n and Global Redirect modules

Searched words: 
Too many redirects occurred trying to open “http://dev.wsf2008.net/”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page. Drupal languages Too many redirects occurred trying to open This might occur if you open a page that is redirected to open another page which then is redirected to open the original page. drupal i18n too many redirects debugging too many redirects Firefox has detected that the server is redirecting the request for this address in a way that will never complete. debug too many redirects tracking redirects

So WSF2008.net "suddenly" developed an issue where switching the language through the CSS dropdown would result in an infinite redirect loop and no page being displayed

The output from Charles alternated between something I can't show you (a 301 redirect I think) because the very, very aggressive shareware "you must pay" nagware shut it down (saved my life, but...) and this:

URL http://www.wsf2008.net/
Status Complete
Response Code 302 Found
Protocol HTTP/1.1
Method GET
Content-Type text/html; charset=utf-8
Client Address /127.0.0.1
Remote Address www.wsf2008.net/209.51.163.203
Timing
Request Start Time 12/1/07 8:11:29 AM
Response Start Time 12/1/07 8:11:30 AM
Response End Time 12/1/07 8:11:30 AM
Duration 555 ms
Response Duration 11 ms
Latency 544 ms
Speed 1.58 KB/s
Response Speed 44.39 KB/s

I realized it had to the Global Redirect module.

Solution: Disabled "Global Redirect 5.x-1.1 Searches for an alias of the current URL and 301 redirects if found. Stops duplicate content arising when path module is enabled.
Depends on: Path (enabled)"

See also: [l|node/865|RSS]

Fixed.

Really, really, really stupid attempt at search engine optimization on our
part-- the global redirect module, which makes sure that pages don't have
multiple aliases in the eye of the world (with permanent redirects) and
works great on our other sites is massively incompatible with the
internationalization module-- but only on the home page.

:: shoots self in face

ben

Agaric Design Collective
http://AgaricDesign.com/

Benjamin Melançon wrote:
> > On it. Jason, absolutely certain it's not any redirect on the domain level,
> > while I check out the site?
> >
> > Christophe Aguiton wrote:
>> >> hi
>> >>
>> >> only to tell you from istanbul than even the "normal" website
>> >> http://www.wsf2008.net/ is not working neither (was working yesterday)
>> >> and we are supposed to have a presentation in 2 hours !?!?
>> >>
>> >> christophe
>> >>
>> >> 2007/12/1, Jason Nardi > >> >:
>> >>
>> >> Hi again,
>> >>
>> >> I just realized that if you enter with a different language than
>> >> English, the site disappears (no url found, eg. www.wsf2008.net/it
>> >> )
>> >>
>> >> This is a serious and urgent problem - please verify and repair as
>> >> soon as possible!
>> >>
>> >> Jason
>> >>
>> >>
> >

Resolution

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.