Skip Navigation

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

Problem:
The client is experiencing an ERR_TOO_MANY_REDIRECTS error when using the 'Use directory for default language' option in WPML. Despite following the guide on setting up directory defaults and redirections, the error occurs intermittently.
Solution:
1. We confirmed that the homepage redirection to the language directory is an expected result due to the settings applied. This is in line with the documentation provided at https://wpml.org/documentation/getting-started-guide/language-setup/directory-default-language/#redirect-the-root-domain-to-the-default-language-directory.
2. We suggested checking if the

home_url()

function is being filtered by other plugins or the theme, which might be causing the error. As a troubleshooting step, we recommended using a hardcoded URL (https://****/el) to see if the issue persists.

If this solution does not resolve the issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem continues, please open a new support ticket at WPML support forum.

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.

Tagged: 

This topic contains 16 replies, has 2 voices.

Last updated by Bigul 1 month, 2 weeks ago.

Assisted by: Bigul.

Author Posts
October 11, 2024 at 7:46 am #16277850

nikolaosM

Hello Bigul,

Thanks for the help and information. We do not consider header redirect as a valid solution since it will cause problems. However, we will transfer this site to a new server and will see if the redirects error comes back. We will keep the configurations we have now, but the problem may occur due to the server being weak. That will be all for now. If we face any problems in the future, we will reach out to you.

Thanks again!

October 11, 2024 at 4:13 pm #16280684

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the feedback. Please feel free to ping us if you need any further assistance. We are happy to help always.

--
Thanks!

Bigul