• Hello, we are using Polylang to have the blog in German and English language, since a few days suddenly our German blog posts are no longer indexed by Google. In the Search Console, this is the issue:

    Duplicate, Google chose different canonical than user

    And then, Google has chosen the main starting page as canonical URL instead of the individual blog page and therefore does not index it. This only happens to German blog posts, but not to English ones. 

    Any idea how to fix it?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter mseb

    (@mseb)

    I found out some possible root cause here, but still need support for that. I am using the option “The language is set from the directory name in pretty permalinks” and have Hide URL language information for default language unchecked.

    It seems that Google is aware of the URL https://www.wroclawguide.com/das-beste-fruhstuck-in-breslau/ while it should be the correct one https://www.wroclawguide.com/de/das-beste-fruhstuck-in-breslau/ with the /de/ in the URL.

    Now https://www.wroclawguide.com/das-beste-fruhstuck-in-breslau/ does NOT return a 404 error as it would be supposed to, neither it redirects to the correct URL via 302/301, but it shows the search result page with “nothing found” – and that has a canonical URL injected from the Yoast plugin (that does not appear on regular search result pages).

    In my view, Polylang still has an issue with the re-write rules. With my settings above, it should either return a 404 issue for the URL not including any language code, or perform the redirect to the correct page… What can be done here to fix that?

Viewing 1 replies (of 1 total)
  • The topic ‘German posts no longer indexed as Google chose different canonical than user’ is closed to new replies.