• Resolved juanavall

    (@juanavall)


    Hi John,

    First of all, congratulate you on the fantastic job.

    Unfortunately, I am having some issues redirecting pages in Korean, Japanese, Russian and other languages that require decoding.

    Just as an example…

    The following redirect works well:

    /ko/
    /ko/%ec%86%a1%ec%b9%98-%ec%b9%b4%ed%8e%ab/

    However the following do not work properly:

    /ko/송치-카펫/
    /ko/%ec%86%a1%ec%b9%98-%ec%b9%b4%ed%8e%ab/

    /ko/%EC%86%A1%EC%B9%98-%EC%B9%B4%ED%8E%AB/
    /ko/%ec%86%a1%ec%b9%98-%ec%b9%b4%ed%8e%ab/

    Could you please give me some guideline where to start to fix this?

    Thanks in advance for your help!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author John Godley

    (@johnny5)

    Do you have a URL I can look at? What redirect have you created for this?

    Thread Starter juanavall

    (@juanavall)

    Hi John, thank you for your quick response.

    URL:

    https://cutt.ly/sjnsdybweksd55

    Redirects below:

    /ko/%25ec%2586%25a1%25ec%25b9%2598-%25ec%25b9%25b4%25ed%258e%25ab/(.*)
    /ko/%ec%86%a1%ec%b9%98-%ec%b9%b4%ed%8e%ab/$1

    /ko/cowhide-rugs/(.*)
    /ko/%ec%86%a1%ec%b9%98-%ec%b9%b4%ed%8e%ab/$1

    /ko/송치-카펫$
    /ko/%ec%86%a1%ec%b9%98-%ec%b9%b4%ed%8e%ab/

    /ko/
    /ko/%ec%86%a1%ec%b9%98-%ec%b9%b4%ed%8e%ab/

    Plugin Author John Godley

    (@johnny5)

    I don’t know what that page is. Can you send a URL that isn’t redirecting (as a text URL), along with a screenshot of the settings for the redirect?

    Thread Starter juanavall

    (@juanavall)

    Hi John,

    I don’t think it is a redirect problem but rather that I am doing something wrong in its configuration and I cannot realize where the problem is.

    As I said, misconfigurations appear with the languages that require decoding (Russian, Chinese, Korean, Japanese). It seems that it is a matter of uppercase and lowercase but I do not how to solve it.

    I am attaching two screenshots in which you can see the issue I am referring to:

    1.- https://cutt.ly/RtTnh3F
    2.- https://cutt.ly/QtTnfD6

    Please let me know if you need temporary access.

    Thanks!

    Thread Starter juanavall

    (@juanavall)

    Hi again!

    Please enter the first result that Google returns and you will see what I mean.

    https://cutt.ly/StTQGK1

    Plugin Author John Godley

    (@johnny5)

    Sorry, they don’t really help, and it’s hard for me to compare Korean words.

    Can you copy/paste a URL that isn’t working, and include a screenshot of the redirect you created in Redirection for this.

    I note that you are using Cloudflare, and this can cache your redirects. You may need to clear your cache.

    Thread Starter juanavall

    (@juanavall)

    Hi John, thanks for your response.

    Here is the URL that isn’t working.

    Below I include two screenshots:

    https://cutt.ly/5tYyOUf
    https://cutt.ly/LtYyAP2

    Cloudflare has been cleared and is in Development Mode.

    Thanks for your time.

    Plugin Author John Godley

    (@johnny5)

    You appear to have a redirect for the same Korean characters that redirects to the same URL, thus creating a loop. What purpose is the redirect?

    Thread Starter juanavall

    (@juanavall)

    Yes, that’s right. However, it does not redirect to the same URL, since one of them is written in lowercase and the other in uppercase.

    Google recognizes Korean characters and decodes them in capitals, that’s why I need to redirect the url.

    Polylang Pro only seems to decode in lowercase and that seems to be what causes the problem.

    Plugin Author John Godley

    (@johnny5)

    As far as I am aware they refer to the same URL – case doesn’t matter in this case as it is hexadecimal numbers, not characters. Your redirect from upper to lower case is causing the problem.

    I don’t know what you mean about Polylang Pro, but I would assume that is a separate issue.

    Thread Starter juanavall

    (@juanavall)

    I had simply added that redirect so that you could see the issue I was referring to.

    Fortunately I solved the problem. This is an internal error handling special characters in Polylang Pro plugin. Nothing to do with Redirection plugin.

    Thanks again for your time, John!

    Best.

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

The topic ‘Korean | Decoder/Encoder Issues’ is closed to new replies.