• Hi.
    I have been using the Polylang plugin for quite a while and I can say I would like to congratulate you- it is purely amazing. But I have a strange loop problem with it.
    The problem is definitely caused by Polylang when the url has Unicode ‘non-ASCII’ Characters. Like this:
    bgtrader.elana.net/bg/?op=Günter
    bgtrader.elana.net/bg/?Günter
    bgtrader.elana.net/bg/?бла
    and I’m getting too many redirects or redirect loop error.

    I have
    Wordpress version 4.3.1
    Polylang version: 1.7.12
    Could you please help me solve this problem

    10x

    http://ww.wp.xz.cn/extend/plugins/polylang/

    https://ww.wp.xz.cn/plugins/polylang/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chouby

    (@chouby)

    Hi!

    I would suspect a conflict with a plugin or your theme. Normally Neither WordPress or Polylang should try to interpret the query string that you are adding (You should receive the home page bgtrader.elana.net/bg/ in all 3 cases). This is what I get on my test site with Polylang only.

    Thread Starter sdikov

    (@sdikov)

    Hi!
    I’ve tried multiple things with no success.

    1. First I deactivated all WordPress plugins without Polylang.
    2. Change theme to Twenty Fourteen
    3. I made sure that htaccess file has standard code and I removed everything else.

    And I still have this problem…

    Thread Starter sdikov

    (@sdikov)

    I just noticed that the problem occurred when you have Static Front Page.
    If you try to access
    bgtrader.elana.net/en/research-and-analysis/news/?G%C3%BCnter
    Or
    bgtrader.elana.net/bg/pazarna-informacia/news/?Günter
    everything is fine.

    Plugin Author Chouby

    (@chouby)

    I investigated a bit more and could reproduce the issues (thanks to your tip on the static front page). Part is coming from Polylang and part from WordPress itself.

    bgtrader.elana.net/bg/?op=Günter
    is OK in WordPress and not in Polylang. So I will fix it in v1.8.

    bgtrader.elana.net/bg/?Günter
    bgtrader.elana.net/bg/?бла
    are not OK in WordPress. It will work on some urls and won’t work on some others.

    For example:
    mysite.com/category/uncategorized/page/2/?Günter leads to an infinite loop (with Polylang de-activated of course).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Loop problems with Unicode 'non-ASCII' Characters’ is closed to new replies.