No posts on home pages with "language determined by domain" in 1.7
-
Hi Chouby,
After updating Polylang on a multisite installation to the new 1.7, I get the following issue:
One site uses the option “Language is determined by different domain names” in combination with a Domain Mapping plugin to manage domain requests landing on the correct site. This has been working up ’till now but after the update.
At first, all language front pages (including the default) simply showed no posts. After saving the Polylang Settings tab again, the default language front page started showing all correct posts again. But the other two are still empty as if there are no posts in that language.
I switched Polylang to “Language is determined by subdirectory” and all front pages started working fine. Back to different domains, the issue is back too.
Resaving Permalinks did not help.
Unchecking the option to remove the page slug from the front pages solved it in so far that now my front pages show the slug which is not ideal for me. Plus landing on the root of the site does not redirect to the address with slug.
Checking the option to remove page slug again, I notice that the menu item “home” for each of these transtations (again, not the default) remains at the address with slug. And yes, the pages are rendered correctly on the url with slug. But they don’t redirect to the root like they did before. And root still shows no posts…
Complicating factor (apart fom being multisite with domain mapping plugin) might be that these front pages are regular pages, not blog pages, each using a template to list the latest posts of the post type “Portfolio”. It is the Illustratr theme (by Autommatic) that adds this post type.
You can see it happening on https://phareo.fr … the other two front pages should be on https://phareo.eu and https://nl.phareo.eu but they are actually on https://phareo.eu/portfolio-en/ and https://nl.phareo.eu/portfolio-nl/ while the default front page address with slug https://phareo.fr/portfolio/ seems to render a blog page now instead of redirecting to / …
- The topic ‘No posts on home pages with "language determined by domain" in 1.7’ is closed to new replies.