Alternate Hreflangs links. Conflict with Yoast plugin
-
Polylang Version 1.9.2
Yoast Version 3.2.5Checked 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.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Alternate Hreflangs links. Conflict with Yoast plugin’ is closed to new replies.