Open
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' );