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
10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 - -
16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 - -

Supporter timezone: Asia/Jerusalem (GMT+02:00)

Tagged: 

This topic contains 10 replies, has 0 voices.

Last updated by valentinS-9 14 hours, 19 minutes ago.

Assisted by: Itamar.

Author Posts
December 31, 2025 at 2:05 pm

valentinS-9

For some reason, a properly translated link always (at multiple instances on the website) gets truncated from
hidden link
to
hidden link

I have tried many ways to change this (in ATE, in string files, etc.), and in the translation views/windows it correctly saves (with confirmation message) but on the website it always end up being truncated and when I re-check the string it has been truncated again. In the troubleshooting page I have also cleared the WMPL cache, removed ghost entries, and ran the "cleanup and optimize string tables" command. But not change. Also checked if this is a redirection issue, but doesn't appear so.

In addition, when trying to access "Theme and Plugin localisation" the site throws a fatal WordPress error, which seems to be in the WPML section, hence I believe this is a WPML issue.

Can you please help? Cheers, Valentin
I will copy the fatal error message details below.

____________________________________________________________________
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.9
Active theme: GeneratePress (version 3.6.1)
Current plugin: WPML String Translation (version 3.4.1)
PHP version 8.0.30

Error Details
=============
-- Removed by the support --

December 31, 2025 at 4:06 pm #17698710

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

We need to replicate the LearnDash -deep-links issue on a fresh WordPress installation. Then I'll be able to escalate it to our compatibility team. For this, I created a test website with a clean WordPress install. You can access it through this link:

hidden link

With this link, you'll be directly logged in.

LearnDash is already installed on this site. I also configured WPML to have German as the default language and English as the second language. Please use just the basic configurations/steps needed to replicate the issue. When everything is finished, and you can reproduce the problem, please let us know.
Important! Do not import your site to the test site. We must replicate the problem on a fresh, clean WordPress installation.
Regards,
Itamar.

January 5, 2026 at 3:50 pm #17704557

valentinS-9

Hi Itamar, I was able to replicate the same issue on the sandbox environment.

Check the link in the English Group "Founder Academy" here:
hidden link
You'll see a link labelled "Deep link to English course topic" as second line.
It should deep link to this: hidden link

However, this link gets truncated (have tried to update the link twice) to the overall course page:
hidden link

However, on the German Group "Founder Academy" it works fine.
hidden link
Again, you'll see a link labelled "Deeplink to German course topic" as second line.
It should deep link to this: hidden link

Here it works.

Looking forward to helping me fix this.

Cheers,
Valentin

January 5, 2026 at 3:53 pm #17704573

valentinS-9

On another note: would you be so kind to set this thread as non-public?

Eventhough the links are hidden, there are screenshots with the cleartext links in there, as well as the clear-text directory listing of the error message.
Cheers, Valentin

January 8, 2026 at 7:19 pm #17714145

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, Valentin.

Thanks for replicating the problem on the sandbox site.

At first, I found that German and English topics and lessons were not connected. But even after connecting them, the links still don't work as expected. I'll esclate this issue to our compatibility team.

We will update you here as soon as we have news about this issue.

P.S. I removed the screenshots and the error.

I appreciate your patience.
Itamar.

January 9, 2026 at 7:06 pm #17717125

valentinS-9

Hi Itamar,

ok understood .
Yes, I know the that only courses are translation-linked, not the nested topics or lessons. This is intentional (people usually don't decide to switch languages once they started a course... ) and I've been working with this setup fine for years.
Thanks for forwarding this to the compatibility team - looking forward to hearing from you guys.

Cheers.

P.S.: I somehow don't seem to get any email notifications for new messages posted in this ticket - even though this is checked in my account preferences. I can of course check manually, but not sure this is intentional?

January 11, 2026 at 9:08 pm #17719719

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

While preparing this case for escalation and explaining to our compatibility team how to replicate it, I realized that the option to enable deep links (nested permalinks) is controlled by 'Shared Course Steps' in Courses -> Settings -> Course Builder. After disabling it and enabling it again, those deep links do not work even in the default language, for example, here:
hidden link.
This link:
hidden link
Gets to be this:
hidden link

Do you know why it happens?

I'm at a point where I can't show this problem to our compatibility team.

Thanks,
Itamar.

January 11, 2026 at 9:24 pm #17719722

valentinS-9

Hi Itamar,
I dont know why this happens. This is a fresh install provided by you guys and you asked me to replicate the issue, which I did. So it must be an issue with WPML (maybe in combination with Learndash).
Please help me fix it.
Cheers
Valentin

January 12, 2026 at 9:38 am #17720577

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, Valentin.

I am sorry for any inconvenience you may have experienced. However, please understand that to esclate this issue, I needed to investigate which LearnDash settings were involved. You haven't provided this information. I have found it is about the 'Shared Course Steps' in Courses -> Settings -> Course Builder. If I'm wrong, please correct me. But after disabling and reenabling this option, the problem also occurs with the original link you inserted here: hidden link. This link: hidden link turns out to be this: hidden link. And it occurs even when WPML is deactivated. Do I miss a setting?

Let's please take another approach to replicating this issue. At the following link, there is another fresh WordPress installation with LeanDash installed. WPML is also installed there, but it is deactivated, and I have not set it up yet.

hidden link

Can you please just create another example of this deep link without involving WPML?
Please tell me the exact steps you took. Please explain it in steps: 1,2,3...
If you want, you can also share a video showing the steps you took. You can use the free online screencast service Komodo - hidden link.

Thanks,
Itamar.

January 12, 2026 at 11:35 am #17721160

valentinS-9

Hi Itamar,

I have created a new LD course on the sandbox on Course Builder with 2 lessons and 2 topics each:
hidden link

Then I have created a LD Group from which I want to deep link into a topic:
hidden link
--> On this LD Group page, I have added a deep link into topic 3 of the course, which works fine both as link only and text, properly deep-linking to this:
hidden link

(I have also set-up a page with a Learndash profile and Group list to be able to access the course and group from front end, and defined it as Homepage)

You can find the screen recording of what I did here:
hidden link

What I then did on the first sandbox to replicate the issue was translating the online course (using the same name and slug), and then went into that English course and added lessons and topics in there (similar to above). Then created the "deep link" to one of the topics on another page.

Cheers,
Valentin

January 12, 2026 at 11:42 am #17721262

valentinS-9

The "Shared Course Steps" feature is something to use in case if you have multiple course utilising the exact same topics INDEPENDANT of a course (basically eliminating the course/lessons url structure in between). This is rarely the case (and makes no sense for my use cases).

By switching it on, you basically eliminate the nested information (hierarchy logic) and corresponding url from /course/lesson/topic to just /topic. And I am guessing by switching it off again you would need to re-assign topics to courses... hence it doesn't change after you toggled back on.

Please note, however that in both instances, i.e. shared course steps on or off in your example you still are able to "deep link" onto the specific topic (i.e. /course/lesson/topic or just /topic)

My issue is that in the translation the deep link from course/lesson/topic get truncated to /course.... i.e. looses the end of the url (not the part in between controlled by the Shared Course step feature

My understanding of the feature - hope that explains it.