Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was seeing ERR_TOO_MANY_REDIRECTS error on secondary language pages with “Language name added as a parameter” option from WPML >> Languages > Language URL format.

Solution:
The issue is solved by disabling the "Remove unregistered URL parameters" option from Yoast SEO >> Settings > Advanced >> Crawl Optimization page.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Noman 1 year ago.

Assisted by: Noman.

Author Posts
November 15, 2023 at 8:56 am

deepsonT

hidden link This is our cloned site. The arabic pages not working.It show ERR_TOO_MANY_REDIRECTS on frond end. So if i deactivate yoast seo plugin that will be work fine. But we need yoast seo also. So can you please check and give solution. I think yoast seo is conflict with wpml. But not showing any error in error logs , but frond end it show ERR_TOO_MANY_REDIRECTS

November 15, 2023 at 11:38 am
November 15, 2023 at 3:59 pm #14811439

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

1. I have checked the issue in the minimal environment on your staging site and I can confirm that the issue is occur only for non-logged in users when we activate the Yoast SEO plugin and choose the “Language name added as a parameter” option from WPML >> Languages > Language URL format. And it works correctly if we choose the “Different languages in directories” option instead of “Language name added as a parameter”.

2. When we spot a compatibility conflict, we need to reproduce it on fresh WP site in order to escalate it to our 2nd tier support. So, I have tried to reproduce this issue at fresh WP site but it was working correctly there as you can see in the Arabic home page: hidden link

3. Can you please check the Yoast SEO plugin and other site settings if something needs to be changed in order to reproduce this issue.

And here is the Autologin URL of fresh WP site:
hidden link

Looking forward,

Thank you for your cooperation and patience

November 17, 2023 at 5:37 am #14831761

deepsonT

Hi, Finally we got the solution. I disabled the option Remove unregistered URL parameters – from the settings of Advanced: URL cleanup of yoast seo plugin, And now it’s worked.