Saltar navegación

Este hilo está resuelto. Aquí tienes una descripción del problema y la solución.

Problem:
The client is experiencing random error 500 alerts when changing the language on their website. The hosting provider indicated that the issue is related to the language plugin and the .htaccess file. The error log shows a misconfiguration leading to an excessive number of internal redirects.
Solution:
1. We recommend checking for third-party functionalities that might be causing the issue. You can find detailed steps to identify the problematic component on our FAQ page: https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/
2. Create a full site backup.
3. Update the WPML plugins to the latest version (v4.6.15) by navigating to Plugins -> Add new -> Commercial tab.

If this solution does not resolve your issue, or if it seems outdated or irrelevant 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 further assistance is needed, please open a new support ticket at WPML support forum.

Este es el foro de soporte técnico de WPML, el plugin multilingüe de WordPress.

Todas las personas pueden leerlo pero solo los clientes de WPML pueden ingresar comentarios. El equipo de WPML responde en los foros 6 días a la semana, 22 horas por día.

Este tema contiene 2 respuestas, tiene 0 voces.

Última actualización por Carlos Rojas hace 1 semana, 2 días.

Asistido por: Carlos Rojas.

Autor Entradas
enero 17, 2025 en 12:07 pm #16605968

projectes-informatica-i-noves-

Antecedentes del problema:
I am trying to browse the page, but I encounter random error 500 alerts, especially when changing the language. No changes were made to the site. My hosting provider indicated that the issue is caused by the language plugin and the .htaccess file. The site is using WPBakery v7.3 with the Motors theme. Link to a page where the issue can be seen: enlace oculto. The .htaccess file contains the following rules: RewriteRule ^en/wp-login.php /wp-login.php [QSA,L] RewriteRule ^fr/wp-login.php /wp-login.php [QSA,L] RewriteRule ^de/wp-login.php /wp-login.php [QSA,L] RewriteRule ^es/wp-login.php /wp-login.php [QSA,L]

Síntomas:
I expected the page to work as usual without 500 errors. Instead, I got an Internal Server Error with a message indicating a misconfiguration. The error log shows: [Fri Jan 17 12:35:41.018333 2025] [core:error] [pid 313180:tid 139716192089856] [client xx.xxx.xxx.xx:x] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error.

Preguntas:
What is causing the random error 500 alerts when changing the language?
How can I resolve the internal server error related to the .htaccess file?

enero 17, 2025 en 12:11 pm #16606008

Carlos Rojas
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/Madrid (GMT+01:00)

Hello again,

1.- Third-party functionalities usually cause these issues. In this FAQ page you will find the steps to find the culprit: https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/

2.- I recommend you create a full site backup and update the WPML plugins to the latest version (v4.6.15) in Plugins -> Add new -> Commercial tab

Regards,
Carlos

enero 20, 2025 en 8:56 am #16612136

projectes-informatica-i-noves-

Good morning Carlos and thank you very much. After I added the suggested workaround the site is stable again. Now to find the culprit.

enero 20, 2025 en 10:30 am #16612464

Carlos Rojas
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/Madrid (GMT+01:00)

Great!

Please don't hesitate to contact us if you need our help in the future with WPML.
Have an excellent day!