• Resolved kanaroo

    (@kanaroo)


    Hello, I’m facing problem with hreflangs for custom taxonomies. On page which I give like example it missed (on all taxonomies with US lang page it missed, US lang is default language). If I disable support translations for this taxonomy – hreflangs backed to code, but pages of course are 404. You can see it by this screenshot https://ibb.co/XWSS9jK
    For not default languages we have hreflangs but with some missed lang – https://ibb.co/GJHnBTG
    Here is our configuration – https://ibb.co/vsQvCdz

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

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

    (@chouby)

    Hello,

    It seems to me that your problem is not whith hreflang but with your translation groups. We also can see that that your language switcher links to the homepage instead of a translated term.

    It could be that you did not linked your translations together. Or it could be that these links have been removed. I suggest that you check your terms in the terms list table and check that they are correctly linked? You should see a pen icon in he column of the other language. If you see a + icon, that means that the link is not correct. If this is the case, you can re-link your existing terms with the autocomplete field. See bullet 2 in https://polylang.pro/doc/translating-pages-posts-categories-and-tags/ for posts but it’s the same for terms.

    Also, if a term is correct in a translation group, re-saving generally fixes the other incorrect terms of the translation group.

    Thread Starter kanaroo

    (@kanaroo)

    Hey Chouby,
    I’ve checked all our groups of terms and all are correctly linked. Example of it on this screenshot https://ibb.co/5k9S811
    Re-saving also not helped, I’ve tried it and have same situation now.
    Have you any more suggestions, please? We have checked it with another dev and not found any issues from our side

    Thread Starter kanaroo

    (@kanaroo)

    I’ve found issue, after debugging code I understand that I have taxonomies that have 0 count. After increasing it – hreflang starts to work. Thread will be closed, thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom taxonomy hreflang issue’ is closed to new replies.