[wp-trac] Re: [WordPress Trac] #5766: endless redirect loop

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 4 18:46:29 GMT 2008


#5766: endless redirect loop
-------------------------------------+--------------------------------------
 Reporter:  pixline                  |        Owner:  anonymous
     Type:  defect                   |       Status:  new      
 Priority:  normal                   |    Milestone:  2.5      
Component:  General                  |      Version:  2.3.2    
 Severity:  normal                   |   Resolution:           
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Comment (by jhodgdon):

 Just a comment. In the Language Switcher (another multilingual plugin) I
 came across some issues like this, and got around it by adding language
 portions of the URL *before* the /page/2/. So the URLs look like this:

 (siteurl)/langswitch_lang/es/page/2/

 The issue I was working around was that some of the code for figuring out
 page/# assumed that the page/# was at the end of the URL, and it seemed to
 be pretty fundamental to the code rather than something that could be
 fixed with an easy patch.

 So my recommendation would be to try getting your language suffixes in
 before the /page/N part of the URL. It's a bit more complex, programming-
 wise, but it does work better.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5766#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list