Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 13:00 9:00 – 13:00 9:00 – 13:00 8:00 – 12:00 8:00 – 12:00 -
- 14:00 – 17:00 14:00 – 18:00 14:00 – 18:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

This topic contains 0 reply, has 0 voices.

Last updated by Bruno Kos 3 months ago.

Assisted by: Bruno Kos.

Author Posts
April 15, 2025 at 11:03 am #16933496

lauraP-35

Background of the issue:
I am trying to access the pages in English version. But the URLs are opening in secondary language i.e. French / German and without the language directory (/fr/ and /de/) resulting in 404 Page Not Found errors. There are lots of URLs with the same issue. This happens for all three custom post type detail pages (Blogs, Resources and Events). Link to a page where the issue can be seen: hidden link and attached are the screenshot for your reference.

Symptoms:
The URLs are opening in the secondary language (French/German) without the language directory, instead of the expected English version.

Questions:
Why are the custom post type URLs opening in the secondary language without the language directory?
How can I ensure the URLs open in the correct language with the appropriate directory?

April 15, 2025 at 12:48 pm #16934094

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

As soon as the urls are wrong and give 404, create a package using such as https://wordpress.org/plugins/duplicator/ while the issue is still available, so don't resave permalinks, try to clear cache or similar issues that make the 404 resolved

I will try to deploy the website on the localhost and observe the issue.

April 25, 2025 at 6:44 am #16966980

lauraP-35

I am trying to access the pages in English version. But the URLs are opening in secondary language i.e. French / German and without the language directory (/fr/ and /de/) resulting in 404 Page Not Found errors. There are lots of URLs with the same issue. This happens for all three custom post type detail pages (Blogs, Resources and Events). and 404 error page show suddenly URL has been redirect without any given redireaction.no cache has been stored on the server and plugin. can you please checkout and please resolve this issue it's request

image (8).png
issue redire.png
April 25, 2025 at 11:11 am #16968242

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Is the issue visible on hidden link now, or any other resource page? I checked few of these but don't see 404.

On which URL is 404 at the moment? Did you create a Duplicator package when it occurred so I could debug it locally?

etude.jpg
April 29, 2025 at 6:26 am #16977235

lauraP-35

We have encountered this issue with its consent fluctuations working on the pages ( resource & blog ) etc and users. Already you can check it's redirecting to the 301 FR (see above image google developer tools already show this ) language without clicking on the language changes. The language URLs have conflicted with either the slug auto-generation or the slug auto-creation on the dashboard as per our thinking and research . create a Duplicator package on the website so you doing to the further process .I would appreciate it if you could have a look at this because the customer and client have been having this issue for a while.

April 29, 2025 at 3:51 pm #16980189

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Can you send me 2-3 URLs of the affected pages? On hidden link e.g. I see nothing in the Network tab. For these translations also nothing is recorded.

May 1, 2025 at 9:25 am #16986156

lauraP-35

We’ve noticed some inconsistencies with URLs on the site, causing intermittent issues on various pages. I will share the Google Developer Console logs for further analysis.

Specifically, we're encountering 404 errors on the French-language versions of the Blog and Resource pages, even without any manual language change. Customers have reported this issue via email, stating that the pages are not accessible. We are also experiencing the same problem on our end.

Active URL going to the 404 any redirection and again 30second and 1 minute it's show live it's affected on those FR and DE EN language .

According to our thinking, wpml plugin crashes some other plugin, so could you please check some script or some string passed to the other plugin as well. can you please help me on this because our customer facing this issue and mail to us .

image (12).png
image (13).png
image (14).png
May 2, 2025 at 1:22 pm #16989723

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Thanks for the additional details. Here’s how we can make real progress:

1. Please share 2–3 specific URLs (EN or FR/DE) that are currently showing the issue. If the issue is gone by the time I check, I can't analyze what’s going wrong.

2. Since these problems appear and disappear, it’s important to create a Duplicator package immediately when the issue is happening, before clearing cache or saving permalinks. This will allow me to clone the site with the broken behavior and debug locally—without needing to guess.

3. Based on your notes, it sounds like WPML might be conflicting with another plugin. Once I have the package, I can check plugin interactions, rewrite rules, and language redirects in a controlled environment.

Let me know as soon as you’ve created the Duplicator snapshot during the issue. This is the most efficient way to reach a solution.

The topic ‘[Closed] Need the help with Custom Post Type URLs for all three languages (EN, FR and DE)’ is closed to new replies.