• Resolved performanze

    (@performanze)


    Rankmath Polylang issue

    If I remove /product-category/ from category urls with the rankmath woocommerce option:

    In the main language its ok.

    In additional languages with this structure: domain.com/en/, domain.com/es/, domain.com/fr/…. Its not working. 404 everytime

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @performanze,

    Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.

    Please add this filter code to see if it resolves the issue:
    add_filter( 'rank_math/woocommerce/product_redirection', '__return_false' );

    You may refer to this guide on how to add filters to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how that goes. Looking forward to helping you.

    Hi there – I have a redirect conflict between WPML and Rankmath. Applying the filter, the problem disappears, however I’m not sure about the consequenses. I tried to understand: https://rankmath.com/kb/disable-custom-product-redirection/, but could you tell me if the filter changes my product URLs on my website / my URLs as listed in search engines? Thank you, Frank

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @perlfan,

    No, this filter won’t change the URLs of your products. This is used internally by our plugin to redirect the products to the correct variation but the canonical and the actual URL of the products will remain the same.

    So, in terms of SEO, it won’t cause issues on the website.

    Thank you.

    Ok, thank you for letting me know. Frank

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Rankmath Polylang issue’ is closed to new replies.