• Hi,

    I use the Divi theme and my site is in two languages: Italian (default) and English. My WP Admin is in Italian.
    Polylang settings are the following:
    • The language is set by the directory name in pretty permalink
    • Remove / language / by pretty permalink
    • Hide information relating to the language by URL for the default language
    • The language is not set according to the browser preferences when visited the home page

    I have created two home pages, one with contents in Italian and language set to Italian, the other with contents in English and set to English language.
    I have created two menus, one for Italian with the Italian home page and one for English with the English home page.
    I have activated the language switcher as a menu item.

    Now, when I go directly to the root domain page (for example: mysite.com) using Chrome, it correctly shows my Italian homepage as expected. However if I switch to English it goes to mysite.com/en and shows an error message “No Results found. The page you requested could not be found. Try refining your search or use the navigation above to locate the post.

    Actually the page mysite.com/en does not exist, in fact the URL of the English home page is mysite.com/en/home. So it seems that the language switcher does not correctly address the home page.
    I have also checked that the problem occurs even if the language is chosen by the browser (I tried accessing the site from US).

    I can’t find a way to set the correct english home page url, as Polylang set it automatically.

    What am I doing wrong?
    If anybody wants to try my site is http://hr-assistant.it

    Any help is greatly appreciated,
    Roberto

The topic ‘Polylang – Language Switch points to the wrong link’ is closed to new replies.