Skip Navigation

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 contains 6 replies, has 0 voices.

Last updated by Andrey 3 weeks, 2 days ago.

Assisted by: Andrey.

Author Posts
March 18, 2025 at 10:32 pm #16832780

shanyM

Actually i manage get error even if WooCommerce Multilingual & Multicurrency desactivated right now

March 18, 2025 at 11:37 pm #16832872

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I suspect that something else is affecting this behavior. As you already noticed, that error may occur without WPML.

hidden link In french, the word "Store" remain, I didt find where it is. It should be "Catalogue".

I also want to mention that this is a page slug, and it can be changed by going to Pages → All pages, editing the Catalogue page, and changing the page's slug to "catalogue". The same is true for translation: you go to the translation editor and change the slug for English to "store".

Modifier-la-page-«-Catalogue-»-‹-Pièces-de-fenêtres-et-portes-PE-Fraser-—-WordPress.png
Advanced-Translation-Editor-WPML(6).png
March 19, 2025 at 8:46 pm #16837148

shanyM

I notice that anomaly and its most likely linked. you can do anything you want to try solve this. I will not take you responsable if it didt work dont worry. We jsut want get ride of that nasty issue.

March 19, 2025 at 9:07 pm #16837274

shanyM

I think all internal server error caused by wpml also. After checkup, the permalink keep on been changed. As soon i repair permalink all start working again. I dont really care that the url bar is english or french as long the page himself are in corect langage. Maybe we can solve issue by disable something?

March 19, 2025 at 10:35 pm #16837399

shanyM

I manage to solve most of the issue. I review all redirection and translation. Now my issue remainting is with the langage button. If i visite both catalog in english or french it work but if i go in the english catalog then try to switch to french i got a 404 error. See the button hard hardcoded link to store that dont exist anymore.

March 20, 2025 at 3:19 pm #16840916

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

I think all internal server error caused by wpml also. After checkup, the permalink keep on been changed. As soon i repair permalink all start working again. I dont really care that the url bar is english or french as long the page himself are in corect langage. Maybe we can solve issue by disable something?

I also noticed that. I think you are experiencing the following issue: https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/.
A quick workaround exists there so that it won't bother you any longer.

Now my issue remainting is with the langage button. If i visite both catalog in english or french it work but if i go in the english catalog then try to switch to french i got a 404 error. See the button hard hardcoded link to store that dont exist anymore.

Can you show me this on the screenshot? So I can better understand this.