• Resolved wanderingexplorer

    (@wanderingexplorer)


    Hello.

    There are some issues with Rank Math and WPML.

    When you set a “Primary” Product Category for a Woocommerce product, and probably for blog posts too, then translate the product or post with WPML, the primary product category is not “copied” and synced to the translation.

    I have of course set “rank_math_primary_product_cat” to “copy” in the WPML section for custom fields. There is also no system fields beginning with an underscore for any of the Rank Math custom fields e.g. “_rank_math_primary_product_cat”.

    If I open the translation in the WordPress standard editor (Classic Editor), and manually select the radio button next to the primary product category, and then click the blue Update button, then on page refresh the primary category selection disappears as if one had never been selected.

    I am confident this is a bug.

    Also I would recommend that you investigate the following custom fields as well. I haven’t tested the last two, but think they may also have an issue being copied.

    rank_math_primary_product_cat (tested not working)

    rank_math_primary_category (no tested but suspected)

    rank_math_rich_snippet (no tested but suspected)

    Thank you.

    PS Rank Math Version 1.0.27.4

Viewing 1 replies (of 1 total)
  • Plugin Author Rank Math

    (@rankmath)

    Hello @wanderingexplorer,

    Thank you for contacting Rank Math.

    Sorry for the delayed reply, after translating the post, you have to select the Primary Category in the translated post. The copied primary category ID will not work since the translated post will not have the category with the same ID.

    Here is the example: If you have a post in English & Spanish
    1) English Post has Category *Eng Cat*
    2) Now when you translate the post into Spanish, the Spanish language will not have the same category with the same ID. So even though the primary_category meta is copied it will not select any category by default, since the category *Eng cat* doesn’t exist in the Spanish language.

    Hope this helps. If anything else, please let us know.

    Thank you.

Viewing 1 replies (of 1 total)
  • The topic ‘Rank Math Issues with WPML’ is closed to new replies.