This thread is resolved. Here is a description of the problem and solution.
Problem:
The client reported two issues: a discrepancy in the number of main level menu items between French and English versions of their site, and various problems caused by WPML, including too many redirects and permalink changes leading to internal server errors.
Solution:
For the redirection issue, we suggested checking the known problem related to WooCommerce Multilingual causing too many redirects when using shop base with category permalinks. We recommended a workaround which can be found here: https://wpml.org/errata/woocommerce-multilingual-too-many-redirects-error-when-using-shop-base-with-category-permalinks/. Before implementing this, ensure to back up the database.
For the permalink issue, it appears to be related to .htaccess being overwritten by WPML. A quick solution is available here: https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/.
Regarding the language switch leading to a 404 error, we requested a screenshot to better understand the issue with the hardcoded link.
If these solutions do not resolve your issues or seem outdated, 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 problems persist, 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.
This topic is split from https://wpml.org/forums/topic/there-has-been-a-critical-error-on-this-website-33/
This topic contains 6 replies, has 0 voices.
Last updated by 3 weeks, 2 days ago.
Assisted by: Andrey.