• Resolved Tom

    (@shimsa)


    I found essential problem with new version of the plugin.
    Sites and posts missing language code in permalink url.

    For example with version 1.0.6 permalink for second language is:
    https://example.com/en/test/
    With version 2.0.5 permalink is:
    https://example.com/test/

    This permalinks are also in menu (second language) without the language code which causes switching menu to primary language, during transition to site.

    Also when adding sites to second language menu, permalinks are showing here with language code, but after saving, menu has permalink again without language code.
    And also, there are showing sites/posts in ALL languages. I think showing only sites with same language as this menu, is correct.

    Tested with:
    Elementor v3.5.6
    Elementor Pro v3.5.2/3.6.3
    Polylang Connect for Elementor 2.0.5 (upgraded from 1.0.6 – with this version everythings works OK)

    • This topic was modified 3 years ago by Tom.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pacotole

    (@pacotole)

    OK, I have not been able to reproduce the error so I need more information to try to solve it.

    This plugin doesn’t change anything in the Polylang urls configuration. It only has some filters to fix the home page and search form urls in Elementor.

    Is the problem only on the home page or on all pages?
    Is the problem in the language selector?
    From wp-admin in the page listing, is the “view” link correct or is the language also missing?
    can you share a capture of your URL modifications settings in Languages > Settings?

    Thread Starter Tom

    (@shimsa)

    I tried the upgrade again and now everything works fine with the latest versions.

    Tested with:
    WordPress 5.9.3
    Elementor v3.6.5
    Elementor Pro v3.7.1
    Polylang 3.2.3
    Polylang Connect for Elementor 2.0.8

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sites and posts missing language code in url’ is closed to new replies.