• Resolved Akhillees

    (@akhillees)


    Hello,

    1. Your permalinks settings – Custom structure
    2. If you are using a static front page – No
    3. Your Polylang settings
    3.1 The language is set from content
    3.2 Hide URL language information for default language
    3.3 Remove /language/ in pretty permalinks

    I am running enfold theme with polylang for the company I work in.

    Problem is now that when I click logo or the flags in our website, they direct you to “Nothing Found. Sorry, no posts matched your criteria”.

    Feel free to check the website, otherwise our personnel are quite satisfied with the pages.

    www dot northernvision dot eu

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

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

    (@chouby)

    Hi!

    According to the html source code, you are using a static front page (maybe the option is controlled by your theme).
    Try checking “The front page url contains the language code instead of the page name or page id” in Polylang settings

    Thread Starter Akhillees

    (@akhillees)

    Hello,

    Didn’t change the situation at all. Currently I don’t have static front page and it didn’t help when I tried different polylang settings…

    It’s strange because somehow polylang manages to intervene the permalinks of pages… Even if I choose to use different domain links for languages, polylang changes the permalinks of those front pages somehow

    Now when I set up my frontpage my english flag and logo work as intended but still all the other flags won’t work…

    Thread Starter Akhillees

    (@akhillees)

    Thread Starter Akhillees

    (@akhillees)

    Thread Starter Akhillees

    (@akhillees)

    Solved!

    So it all was about that I had “Forces link to front page” checked on the menus. I unchecked it and now it works like a charm. 🙂

    Thank you for your help though!

    Thread Starter Akhillees

    (@akhillees)

    Hello, we added couple pages again to menu and now those flags aren’t working again… -.- Anything solved about this odd case?

    Thread Starter Akhillees

    (@akhillees)

    New update, now those flags work but logo doesn’t support the redirecting in any other language than english, possible to hardcode the logo always to the frontpage and is it hard?

    Plugin Author Chouby

    (@chouby)

    Did you check “The front page url contains the language code instead of the page name or page id” in Polylang settings as suggested above?

    Thread Starter Akhillees

    (@akhillees)

    I cannot find that option to “check”… Where is it located?

    These what I see in the polylang settings…

    The language is set from content
    Posts, pages, categories and tags urls are not modified.

    The language is set from the directory name in pretty permalinks
    Example: http://www dot northernvision dot eu/en/my-post/

    The language is set from the subdomain name in pretty permalinks
    Example: http://en dot northernvision dot eu/my-post/

    The language is set from different domains

    Hide URL language information for default language

    Remove /language/ in pretty permalinks
    Example: http://www dot northernvision dot eu/en/

    Keep /language/ in pretty permalinks
    Example: http://www dot northernvision dot eu/language/en/

    Plugin Author Chouby

    (@chouby)

    It seems that you are using a strange theme which displays a static front page but does not use the built-in WordPress static front page option… 🙁

    And that’s probably the source of your problems. So try setting the static front page in Settings->reading (for example startseite). Polylang will find it and let’s hope that your theme will not conflict.

    Thread Starter Akhillees

    (@akhillees)

    It worked. I chose nothing on Enfold options to be selected as the frontpage, but set it from the reading options as you suggested.

    Many thanks Chouby. 🙂

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

The topic ‘Polylang – logo and flag redirecting problem.’ is closed to new replies.