Waiting for author
Reported for: WooCommerce Multilingual & Multicurrency 4.12.6
Overview of the issue
You can set WooCommerce products to use translations if available or fallback to the default language by going to WPML → Settings → Post Types Translation. However, when you enable this Translatable option on a site that also uses Rank Math SEO, you may get a ERR_TOO_MANY_REDIRECTS error when trying to access a product in the secondary language that’s not translated.
Workaround
This issue is related to the Remove Base option from Rank Math SEO which is available by going to Rank Math → General Settings → WooCommerce → Remove Base. Our team is still investigating the issue to find a definitive solution. For now, as a workaround you can either:
- Make a full backup of your site before proceeding.
- Add this code into your theme’s functions.php file:
/* Filter to disable custom product redirection. */ add_filter( 'rank_math/woocommerce/product_redirection', '__return_false' );
Is the problem already investigated? You have found a final solution?
Hello!
The problem is investigated by the Rank Math SEO plugin authors.
You can use the workaround that is supplied here as this is what they have recommended to us.
Perhaps it would be a better idea if you can open a ticket in their support forum at let them know that you have the issue as well and ask for a better fix.