• Resolved joy0114

    (@joy0114)


    Hello,

    I use the last Rank Math release and last Polylang release and I notice a strange behavior:
    I use 2 languages: french and english.
    Within sitemaps, URL for posts, pages, and product (I use woocommerce) are created for 2 languages, but the product categories, not, just in french.
    Issue is in product_cat-sitemap.xml which does not inlude english URL for product cat.
    However I’ve got all the translations: each “french” category is translated and well related.
    I there a rational explaination ?

    Thanks a lot.
    Best regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rank Math SEO

    (@rankmath)

    Hello @joy0114

    Thank you for contacting the support.

    We do not create separate Sitemaps for every language. All the data from all the languages are added in the same Sitemap.

    If categories from the English language are not appearing in the Sitemap, then maybe they are marked as NoIndex.

    Please confirm and let us know. Looking forward to helping you.

    Thread Starter joy0114

    (@joy0114)

    Hello,

    Thanks for your answer.

    No, I verified, all cat, in french and in english are marked as “index”, with a snippet, and with keywords. As usual.
    I think I found the issue …
    Example:
    French cat is:
    My-website/product-category/cat-matelotage/

    But, with the use of Polylang, the english related cat is:
    My-website/en/product-category/cat-knots/ (This url is working in browser)

    BUT Rank Math, in “general” tab, gives me:
    My-website/product-category/cat-knots/ without “en”

    How can I tell to the plugin the right URL ?
    Is it in tab “advanced” with Canonical URL field ?

    Thanks for any help !

    Have a good day
    Bertrand

    Plugin Author Rank Math SEO

    (@rankmath)

    Hello @joy0114

    We have added the compatibility code in the repo of Polylang and haven’t heard back from them yet:
    https://github.com/polylang/polylang/pull/373

    Maybe you would want to contact them and request them to add the compatibility as they have for other SEO plugins.

    Once merged, the issue(s) should be solved.

    Hope that helps. If there’s anything else we can help you with, please let us know. Thank you.

    Thread Starter joy0114

    (@joy0114)

    Ok, I understand !
    Yes, you help to understand.
    And waiting for that, what do you think about a workaround like editing canonical url for my english categories ? I can’t let it pointing towards nothing …

    Thanks a lot for your advice.
    Have a good day.

    Plugin Author Rank Math SEO

    (@rankmath)

    Hello @joy0114

    It is just a visual error and the code on the frontend prints perfectly well.

    That is an error in the plugin and the same shall be fixed in one of the upcoming updates.

    We seek your patience and understanding in this matter.

    In the meantime, if there’s anything we can help you with, please let us know. We are here to assist.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sitemaps and Polylang’ is closed to new replies.