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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

Tagged: 

This topic contains 6 replies, has 2 voices.

Last updated by Dixa Butani 1 day, 14 hours ago.

Assisted by: Bobby.

Author Posts
September 8, 2025 at 12:57 pm #17383611

Dixa Butani

Background of the issue:
I am trying to display Tutor LMS course pages correctly across different WPML languages. I have courses in Swedish (sv) and English, and I'm using custom code to show courses from all languages on archive pages. Here is a link to a page where the issue can be seen: hidden link.

Symptoms:
The course page sometimes shows a 404 error and sometimes works correctly. This happens inconsistently - the same URL might work in one browser tab but show 404 in another tab, or work initially but show 404 after browsing the site.

Questions:
Why do course pages show 404 errors intermittently with WPML and Tutor LMS integration?
How can I ensure the course page loads consistently every time, regardless of the active language or navigation method?

September 8, 2025 at 6:59 pm #17384961

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

The challenge with intermittent errors is that they are not consistent during tests.

Regarding this plugin it is 100% compatible and tested by WPML, however, it does require manual translation as shown here:
https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Also, the add-on from their team is required as well:
hidden link

Being that you do have a functioning translation it sounds like you already know these things, but please do double check.

Typically a 404 error can happen due to server caching as well, I can see that you are using LiteSpeed Cache, if possible please test with it temporarily deactivated and let me know your results.

NOTE: At the moment I am not able to reproduce the 404 error, I have refreshed the URL provided a few times to attempt reproducing it.

September 9, 2025 at 7:04 am #17385671

Dixa Butani

I deactive my lightspeed. Also when i change currency this occure please check this again.

September 9, 2025 at 7:07 am #17385678

Dixa Butani

Can i get live chat support.

September 9, 2025 at 5:59 pm #17388470

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

I am reviewing, unfortunately this issue is more complex and has to be handled in our standard email support.

If you would prefer I can locate another supporter in a closer timezone as you as I am located in Pacific Time.

What is your preferred timezone?

To further investigate either with myself or another supporter closer to your timezone we will need to be able to reproduce the issue.

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

September 10, 2025 at 5:24 am #17389120

Dixa Butani

On the site hidden link
, some course and lesson pages intermittently return a 404 error.

Example course URL (Swedish):
hidden link

Example lesson URL:
hidden link

Behavior Observed

The problem happens mainly in the Swedish language version, so please check from Swedish pages first.

Sometimes the page loads normally, but other times it shows a 404 Page Not Found.

The issue is intermittent – not every time.

Trigger cases:

Switching the currency 2–3 times.

Sometimes simply accessing the same slug.

If you wait a few minutes and refresh, the same page usually loads fine again.

Impact

This is affecting real users of the site.

The 404 errors create confusion, interrupt learning, and directly impact the business.

This needs urgent resolution.

Requirements

On the course archive page, show all courses from all languages.

If a course belongs to Swedish, it should always open in Swedish, even if the user is browsing in another language.

Example: If a user is on the English version of the archive and clicks a Swedish course, they should be redirected to the Swedish course URL, not the English one.

Permalinks should remain stable and always resolve correctly without showing random 404s.

Currently, sometimes permalinks break due to WPML/slug/currency conflicts.

The issue of intermittent 404 errors must be diagnosed and fixed.

Also, please provide the reason why this is happening, so I understand the root cause.

✅ In short:

On the archive page, show all courses (both English and Swedish).

When clicking a course, it should open in its original language (not based on current site language).

Fix the intermittent 404 error that sometimes appears when opening Swedish course/lesson pages.

Provide an explanation of why this happens and the final solution.

I’m based in Toronto, Canada, but since I work at night, I’m available for live chat between 1:00 AM and 11:00 AM (Toronto time).

[removed]

I have already taken a full backup of the site. You (or your support team) are free to make any changes needed to fix this issue. My main concern is to have it resolved because the site has real users, and they are facing this issue, which is directly impacting my business. Please also provide the reason why this happens, in addition to fixing it.

Thank you,
Dixa

September 10, 2025 at 5:57 am #17389157

Dixa Butani

Also can you give me how much time take to resolve this issue.