[Resolved] Hreflang to redirect or broken page on my site
This thread is resolved. Here is a description of the problem and solution.
Problem:
There are "too many redirects" when trying to open a Russian translation of a product. This only happens for Russian products, while product categories even translated into Russian are just fine.
Hi I have Hreflang to redirect or broken page on my site Luxsauna.fi on Russia language. and Russia language products have error when I try to open them
Reference to our recent chat, meanwhile this ticket is attended by our support, please feel free to update about your findings on your staging site by activating other plugins one by one and keep checking for the issue.
You can also try reproducing the same thing on the Sandbox provided to you. This 'll help finding the differences as well as identify the actual problem.
It cause translated Russian Language products to have an error - It's portably because having % in the link/href?
When I disable Rankmath all the products in Russian language work perfectly and when I enable the plugin, same links do not open anymore with error "too many redirects"
I checked the product URL and found multiple 301 redirects created by Rank Math, please see here: hidden link
Please enable the plugin again then go to Rank Math > General Settings > WooCommerce tab, and check the status of the following options:
- Remove base
- Remove category base
- Remove parent slugs
If any of them is enabled, disable the option then resave the permalinks settings in Dashboard > Settings > Permalinks and check if the issue is resolved.
I'm not sure why it happens only with one language, but it seems related to a known issue between WPML and Rank Math. We've contacted the plugin authors about this issue and they suggested disabling the product redirection by using this filter: hidden link
The redirect is created by Rank Math and the filter used in the workaround is provided by the plugin authors, so I'm afraid you'll need to check about it with their support.
Since your site's SEO is controlled by this plugin, they can also help you better regarding the other question as we are not sure how this can affect your SEO.