Skip Navigation

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

Problem:
You are trying to change the default language in WPML, but after doing so, you cannot switch to other languages.
Solution:
First, ensure that you have saved the WordPress Permalink settings after changing the default language. This step is crucial as it updates the URL structure to accommodate the new language settings.
Next, check for any errors under WPML > Languages > Site URL format in your WPML settings. If there are issues here, they might be preventing the language switch. Further, please verify if there are any redirects in place that are not coming from WPML.

If these steps do not resolve the issue, it might be due to specific configurations or conflicts that are not covered here. We recommend visiting our known issues page to see if there are any similar cases. Also, ensure that you are using the latest versions of all themes and plugins.

If the problem persists, please open a new support ticket with us for further assistance.

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 2 replies, has 2 voices.

Last updated by ahmedS-50 11 months, 3 weeks ago.

Assisted by: Andreas W..

Author Posts
June 15, 2024 at 2:13 pm #15741776

ahmedS-50

Background of the issue:
I am trying to change the default language in the directory on my site hidden link.

Symptoms:
When I change the default language, I cannot switch to the other language anymore.

Questions:
How can I change the default language in WPML without losing the ability to switch to other languages?

June 15, 2024 at 5:15 pm #15741941

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Did you already save the WordPress Permalink settings after making changes to the site's default language?

If so, do you see any errors at WPML > Languages > Site URL format?

Best regards
Andreas

June 16, 2024 at 7:25 am #15742290

ahmedS-50

Hello Andreas,

i tried saving permalink as it is but still the english doesnt work.

cant see any difference and the website is working normally but only in Arabic now, if i turn the English back as the default language the 2nd language will work.

the problem only happens when i change the default language to Arabic when the website was made by English as default.

you can check the website. hidden link

Regards,

Ahmed

June 16, 2024 at 10:38 am #15742392

ahmedS-50

i found out that there is a redirect on the /en folder, thank you for your time, now it's working perfectly 🙂