• Resolved webtasky

    (@george9)


    Hi!

    I’m running a multilingual site using domain per language in help of WPML.

    I have installed the latest version both Yoast SEO and WPML with SEO extension 2.0 as well.

    I’m using Yoast default function to create breadcrumbs on my site.

    When I set in breadcrumbs’ settings to show additional items like post category or custom taxonomy for my other post types, the title of taxonomy/category in breadcrumbs is translated correctly but the URL path to this taxonomy/category in breadcrumbs is set to another (opposite) language in some posts.

    I’ve tried to use “Reset indexables and migrations” from Yoast Tools as well as clearing all caches and options in WPML but with no results for current and future posts.

    I’ve run some tests and created test categories. Then I’ve assigned it to a new post and it worked without any issue. But if I change post category in one of languages the the issue occurs and wrong URL is displayed in another language.

    Could you please take a deeper look into this? I’ve seen a lot of topics about this issue and another issue relative to breadcrumbs when it comes to changing taxonomy/category for posts without refreshing breadcrumbs (double save is required to make it refresh).

    Do you know about this issue? If so what is the current status of fixing it? Or maybe I should delegate this issue to WPML?

    Best Regards
    George

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Michael Tiña

    (@mikes41720)

    Hi,

    Can you confirm you are using the latest version of WordPress 5.7.1, Yoast SEO 16.1.1, and the latest version of WPML, as well as the latest version of the rest of your plugins and themes?

    Can you also confirm you have all of the necessary plugins/requirements as stated by WPML in their documentation here — https://wpml.org/documentation/related-projects/using-wordpress-seo-with-wpml/

    Would it be possible for you to provide exact steps on how to reproduce this issue? Just to clarify, the path in the URL for the breadcrumbs is correct initially, it’s only when you change the category for one of the posts, that the issue occurs?

    When you reset the indexables with the Yoast Test Helper plugin, did you redo the SEO data optimization under WP admin dashboard > SEO > Tools as well?

    Thread Starter webtasky

    (@george9)

    Hi,

    thanks for your answer!

    Can you confirm you are using the latest version of WordPress 5.7.1, Yoast SEO 16.1.1, and the latest version of WPML, as well as the latest version of the rest of your plugins and themes?

    Yes I can confirm WP and all the plugins are updated to the latest version WP 5.7.1, Yoast SEO 16.1.1 and all the necessary plugins from WPML are installed and configured including WPML SEO 2.0.

    Would it be possible for you to provide exact steps on how to reproduce this issue? Just to clarify, the path in the URL for the breadcrumbs is correct initially, it’s only when you change the category for one of the posts, that the issue occurs?

    1. The path in the URL for the breadcrumbs is correct initially for newly created posts. (leads to correct language)
    2. After trying to change category in a post, the path in a URL is displaying wrong from that moment. (leads to incorrect opposite language)
    (for old posts there is no rule, some are displayed correct some not)

    Take into account that there is another bug when it comes to saving categories: https://github.com/Yoast/wordpress-seo/issues/16896

    When you reset the indexables with the Yoast Test Helper plugin, did you redo the SEO data optimization under WP admin dashboard > SEO > Tools as well?

    It’s not possible from this place there is no such link. There is only a notice “SEO data optimization complete”. But I have updated posts where I was testing it so the Yoast tables should be updated.

    Plugin Support Michael Tiña

    (@mikes41720)

    Hi,

    Thanks for reporting the bug regarding saving categories. This is related to the breadcrumbs, but for your specific issue, the breadcrumb title itself is correct, but it’s just that the URL path is in the incorrect language? Does saving twice without making any changes fix the issue?

    Also, we would expect that if you reset the indexables, that the ‘start SEO data optimization’ button would reappear.

    Can you please try resetting our indexables in the database tables by following the steps below?

    1. Install & activate the Yoast Test Helper plugin
    2. Go to Tools > Yoast Test
    3. Locate the Yoast SEO section and click on the ‘Reset indexables tables & migrations’. Note: this won’t actually erase your SEO data, which is also stored in WordPress’ default tables. It’ll just reset our index (custom tables) for that data.
    4. Go to WP admin dashboard > SEO > Tools, and under SEO data, click the “Start SEO data optimization” button to allow Yoast to rescan your content.

    After rescanning the content, does it then reflect the correct URL in the breadcrumb?

    Thread Starter webtasky

    (@george9)

    Hi,

    after made these steps URLs are still incorrect.

    Plugin Support Maybellyne

    (@maybellyne)

    Hello,

    Due to the nature of the issue, we’ll need to take a look at your setup. However, we are unable to do it here as this is a public forum. So, if you have an active Yoast SEO Premium subscription or if you can consider buying one, we can investigate the issue further directly on your setup privately through email.

    However, if you don’t wish to get the Yoast SEO Premium subscription, that’s completely fine. In this case, you’ll need to troubleshoot the issue further on your setup as we are literally out of any clue at this moment without taking a look at the setup. So, someone from the community might step forward as well who has experienced or familiar with the issue.

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

    Hello,
    I have the exact same issue.
    I tried the “Reset Indexables tables & migrations” solution, but it only works on first page reload, e.g. for Italian it will show correct Italian categories AND links.
    However, if I move on to another language, it will show Italian links in the breadcrumbs, even though the texts are correctly translated.
    Thank you in advance for any help.
    We do have a license, if needed for further study of the issue.

    Edit 1: If in “Yoast Search Appearence” -> Section “Taxonomy to show in breadcrumbs for content types”, one selects a content type other than “Category”, it seems to work (I have it as a menu also). Once you change it to “Category”, it breaks, aka translated text, wrong link.

    • This reply was modified 5 years, 3 months ago by catasoft. Reason: making explanation more clear
    • This reply was modified 5 years, 3 months ago by catasoft.
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Wrong URL language in category and taxonomy in Breadcrumbs with WPML’ is closed to new replies.