Front page (posts) keeps language in url
-
Hi:
I installed polylang on my fresh WP installation (in local), set up to not modify urls, and after I installed a few more plugins (P3, WP_Optimizer, YOAST SEO and WPCF7). Everything was ok, but suddenly I saw the front page (posts page, not a static one) keeping the language (/en/) in the url for non-main languages (just have en-gb and es-es, this last one as main lang). To clarify it:
– Clicking on the /Spanish/ button on the language switcher, it redirects me to:
— https://my-ip/my-subfolder/
– Clicking on the /English/ button on the language switcher, it redorects me to:
— https://my-ip/my-subfolder/en/
– Tried to create a random language (french), clicking the button, takes me to:
— https://my-ip/my-subfolder/fr/My settings:
-> Settings -> reading:
-> — Front page displays: Your latest posts
-> Settings -> permalinks:
-> — Post name (https://my-ip/%postname%)
-> Languages (polylang) -> settings:
-> — URL Modifications:
-> — — The language is set from content
-> — — Hide URL language information for default language ON
-> — — Remove /language/ in pretty permalinks
-> — Detect Browser Language: OnI read that, keeping the posts as front page, it should not add the lang to the url. If it’s right, how can I get it done?
- The topic ‘Front page (posts) keeps language in url’ is closed to new replies.