polylang translated product category is not redirecting

#73636
  • Resolved Julianna Fulvi
    Rank Math free

    Hi as it looks like, the English product category redirections to sites are working without problem, but the translated categories are not redicrected.

    could you please help me to fix this problem? Can it have some connection with the crazy Canonical URL that the German translated categories have?
    I pasted two examples, one is the English one with normal Canonical URL and one is the German with that crazy one.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I tried to check your site but it seems to be currently under maintenance. The canonical URL seems to appear in a very unexpected way. Have you edited it by any means ? You can try changing it to the correct canonical and let us know if this resolves the issue.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Thank you Michael for your answer.
    No I didn´t edited it at all. I can go ans copy it in the field, but it does not allow me to edit it.
    It´s very interesting that at each translated category is the same kind of canonical URL, and the original English ones are OK.
    What shall I do?

    I just changed one of the canonical URL-s manually, but as it looks like it does come from somewhere else, as you can see it appears still in the preview with that crazy link.

    What shall I do now? Do you have any idea?
    thanks

    I have found the real error in the redirection the source URL was not right…no idea where it comes from, but the middle of the German categories URL was in English.
    for example:
    de/product-category/schmuck/armbander instead of:
    de/produkt-kategorie/schmuck/armbander

    I corrected them manually, but it would be great to have it right automatically.
    is there any chance to correct it in the plugin?

    Thanks
    Julianna

    Alberto
    Rank Math business

    Hello,

    You could set up a redirection with Regex or “Contain”, for example in Regex, your origin URL would follow this pattern:

    (.*)product-category(.*)

    And it should redirect to:

    $1produkt-kategorie$2

    Looking forward to help you.

    As I´m not a programmer I don´t really know what you mean, but I hope this helps others.
    I would though like to understand from where this error comes from. And I would also like to know where do I have to set up this regex redirection?
    thanks

    Hello,

    Thank you for the follow up.

    We cant really determine the cause of this without having to take closer look at your settings. However, the most likely cause can be your permalink settings. You can head over to WordPress Dashboard > Settings > Permalinks and check your settings for product categories.

    The regex redirect my colleague recommended would redirect your product-category URLs to produkt-kategorie. An example, exampleURL.com/product-category/something would be redirected to exampleURL.com/produkt-kategorie/something

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    thanks for our help. I set it to resolved

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)

The ticket ‘polylang translated product category is not redirecting’ is closed to new replies.