Skip Navigation

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

Problem:
The client attempted to change the URL format on their WordPress website to differentiate between languages (e.g., https://www.example.com/fr/ for French and https://www.example.com/en/ for English), but encountered an issue where changing the URL would always redirect to the homepage of the default language.
Solution:
We recommended the client to check for potential conflicts with other plugins by following these steps:
1. Deactivate all plugins except for WPML CMS.
2. Temporarily switch to a default WordPress theme, such as Twenty Twenty-One.
This process helps determine if another plugin or the theme is causing the issue with the URL format. We also advised the client to back up their database before performing these tests.

If the problem persists or if this solution is not applicable due to updates or different circumstances, 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 do not hesitate to 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 3 replies, has 2 voices.

Last updated by Ilyes 8 months ago.

Assisted by: Ilyes.

Author Posts
June 10, 2024 at 1:47 pm #15722339

Mohamed Amine Samet

I tried to change URL format in my wordpress website, but that doesn't work

June 10, 2024 at 3:05 pm #15722926

Ilyes
Supporter

Languages: French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

I have opened this ticket for you in case you still need help with the URL issue,

Best,

June 18, 2024 at 10:48 am #15748542
Mohamed Amine Samet

Hi,
I have not yet tested the themes and plugins that can be used to solve the URL change issue with WPML.

However, there is another issue I have with translation: websites that are translated don't seem right.
Even after using WP-ROCKET to clean the cache, the style and theme are absent on several translated sites, particularly in the English version.

While logging into the WordPress dashboard is working smoothly, there is a major issue when browsing privately.
I would appreciate it if you could help me understand what to do or step in as soon as possible since it is depleting the site.

I am grateful for your assistance.

New threads created by Ilyes and linked to this one are listed below:

https://wpml.org/forums/topic/split-the-style-and-theme-are-absent-on-several-translated-sites/

June 18, 2024 at 4:29 pm #15750233

Ilyes
Supporter

Languages: French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

Thank you for the follow-up,

As part of our support policy and to keep our forum easy to access for our other users, we recommend handling one issue per ticket/chat.

For that, I have created the ticket below where we can focus on the new issue :

https://wpml.org/forums/topic/split-the-style-and-theme-are-absent-on-several-translated-sites/

Thank you for your comprehension,