• Resolved misterixas111

    (@misterixas111)


    Polylang Version 1.9.2
    Yoast Version 3.2.5

    Checked on fresh wordpress install without any additional plugins.

    • Added two languages, created in them two categories. One top, other sub.
    • After installing Yoast, added 5 posts in all langs into sub category.

    Categories structure:
    Cat 1 (0 posts) -> Sub Cat 2 (5 posts)

    Problem is in:
    When going into single post, and view source of html code, alternate links are almost the same. One link is good, other link have categories from first link language. This can be various what language will have good link, what other not.

    Yesterday I spent all day to figure out this, and find some in yoast class-primary-category.php. When disabling filter ‘post_link_category’, all is fine with generated polylang hreflang links.

    https://www.ads-software.com/plugins/polylang/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter misterixas111

    (@misterixas111)

    Posted in github

    Thread Starter misterixas111

    (@misterixas111)

    How dealing with this issue? On github no answer about this…

    Plugin Support Chrystl

    (@chrystl)

    Hi misterixas111

    In fact I didn’t reproduce your issue by using your category structure (even with the bug you have discovered).
    Could you provide a link to you site? Thanks.

    Thread Starter misterixas111

    (@misterixas111)

    I’ve checked now too, so probably this problem has gone. Or by you somehow in fresh versions fixed, or by yoast plugin author. Sorry, Chrysti!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Alternate Hreflangs links. Conflict with Yoast plugin’ is closed to new replies.