Skip Navigation

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

Problem:
The client was experiencing an issue where WPML was stripping off endpoint slugs in English for a LifterLMS dashboard, resulting in incorrect URLs. Despite attempts at manual translation of endpoint slugs and cooperation with LifterLMS developers, the problem persisted. The issue was isolated to the client's specific setup as a vanilla install of WPML and LifterLMS did not exhibit this problem.
Solution:
We recommended the client to perform a WPML Reset, which resolved the issue with the LifterLMS menu. This step, however, led to the loss of all page translations and some plugin localizations, which the client was prepared to redo. We also suggested linking already translated pages by following the instructions on how to link already translated pages and managing plugin string translations through export/import as detailed in the WPML String Translation documentation.

Please note that this solution might be outdated or not applicable to your specific case. If the issue persists, 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 necessary, please open a new support ticket 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 11 replies, has 0 voices.

Last updated by robE-5 1 month ago.

Assisted by: Dražen.

Author Posts
March 1, 2025 at 2:23 am #16763159

robE-5

Background of the issue:
I am trying to create a LifterLMS dashboard. I expected to see the page at hidden link.

Symptoms:
WPML strips off endpoint slugs in English, resulting in the URL hidden link instead of the expected URL.

Questions:
Why is WPML stripping off endpoint slugs in English?
How can I ensure the correct URL is displayed for my LifterLMS dashboard menu items?
I tried manually translating each end point slug but it didn't work, and i didn't expect it to, as this problem is IN ENGLISH, as well as the translated page.
If I disable the WPML plugin, the dashboard works fine.

March 4, 2025 at 8:42 am #16772007

Dražen
Supporter

Languages: English (English )

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

Hello,

as it seems this plugin is not officially compatible with WPML and there are some issues. We have already been in contact with the author, but it seems not much progress was made nor we hear back from them in some time.

- hidden link

I suggest you contact the plugin author and invite them to work with us on compatibility, we will be glad to help and collaborate. Maybe they already have a solution/workaround for the mentioned issue you have.

Otherwise you can use WPML compatible LMS addons: https://wpml.org/plugin-functionality/lms/

Hope this helps.

Regards,
Drazen

March 7, 2025 at 12:39 am #16785802

robE-5

Hi Drazen

I'm unlikely to change my entire LMS over this one issue.

LifterLMS developers are working in my staging copy of my website to resolve this. They appear to be making progress. They said "Rest assured, we are working on it and communicating with their team to see what we can do on our end." So it sounds like they are cooperating with WPML.

I'll keep this open until I can tell you they've fixed it.

Cheers
Rob

March 7, 2025 at 7:40 am #16786342

Dražen
Supporter

Languages: English (English )

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

Hello Rob,

Thanks for getting back. Glad to hear that the author is willing to cooperate and thanks for contacting them.

Last time I checked, we have not heard back from them for a while, hopefully, we can continue and make the product WPML compatible.

Regards,
Drazen

March 7, 2025 at 9:38 pm #16790096

robE-5

Hi Drazen

LifterLMS inform me that a vanilla install of WPML and LifterLMS does not have this problem, that the LMS dashboard works fine with no endpoints stripped off.

So clearly i have screwed something up in WPML to cause this to happen.

Do you have any suggestions please on what i might have wrong that is causing this?

March 7, 2025 at 10:20 pm #16790372

robE-5

P.S. Note this is happening on the original page NOT the translation. There isn't even a translation of the page, nor are there any strings for the slugs.
Also note, it ONLY happens if the dashboard is on a page. Any other post-type it doesn't happen, the dashboard Shortcode works fine. Perhaps WPML is mis-interpreting the slugs as a page hierarchy

March 10, 2025 at 7:34 am #16794576

Dražen
Supporter

Languages: English (English )

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

Hello,

I am not sure what is wrong, but lets check it out further together and see what is the issue here.

1) Can you please try next:

- Make sure you have a backup.
- Disable all other plugins and leave active only WPML plugins and LMS
- Switch to WP default theme
- Check if the issue still happens.

2) Lets confirm if this happens or not in new website.

I created a minimal installation of WordPress, WPML, and all necessary WPML add-ons, and themes.

You can access the WordPress dashboard using the link below:

- hidden link

Try to replicate the issue with a simple example page.

Regards,

Drazen

March 10, 2025 at 8:36 am #16794866

robE-5

Yeah I've definitely broken something on my site.
With just WPML and LifterLMS plugins active, using Troubleshooting mode, I still have the problem.
On the sample site you sent me - thankyou!!! - I installed LifterLMS and annoyingly it works just fine 🙂 hidden link

Somebody from LifterLMS - or me accidentally - has fixed my staging test environment so it works. hidden link I spent a whole day trying to find what is different and I can't. But I now know it is fixable

We have done quite a lot of translation of the Production website, all of it by people who didnt really know how to use WPML. Are there steps I can take to repair WPML without losing that work? any ideas what settings to play with?

Otherwise I will write code to put the endpoint slugs back manually 🙄

March 10, 2025 at 9:04 am #16795109

Dražen
Supporter

Languages: English (English )

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

Hello,

Thanks for getting back and trying out on the test site.

There are some troubleshooting tools you can try, but I am not sure if this will help. I can try to see and check, maybe I will be able to catch something. Please share admin access, and I will take a look.

Otherwise, it might not be a bad idea to use that custom code or check with LifterLMS what they have changed on the staging site.

Regards,
Drazen

March 10, 2025 at 9:50 pm #16798604

robE-5

Hi Drazen

In setting up staging for you, I stumbled across more information which I document here hidden link

The problem is caused by an interplay of LifterLMS, WPML, and Really Simple Security
Pleasse send me the private link again and I'll give you access

March 11, 2025 at 5:58 am #16799397

robE-5

P.S I've been working on this all day. Eventually in desperation I did a WPML Reset (in Staging). It resolved the issue. **LifterLMS menu now works fine**. WPML string translations seem to be intact but all page translations are gone???
I can live with that: the site translation was out of date and a bit messy, if I have to start again I will.
All the plugin localizations are gone too, again that's not hard to fix.

Or is that a function of the Staging having a different URL? maybe it will work better in Prod.

Anyway i intend to di a WPML Reset in Prod then pick up the pieces. Thoughts?

March 11, 2025 at 6:36 am #16799440

Dražen
Supporter

Languages: English (English )

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

Hello,

You can still connect the pages, they are not gonna just they are all now in the default language.

- https://wpml.org/faq/how-to-link-already-translated-pages/#:~:text=To%20link%20a%20translation%3A,the%20selection%20at%20This%20Post.

As for the String translation of plugins, you can export this and then import it back once you have reset WPML. There is a small section for import/export at the end of the page in the WPML String translation.

I would advise to keep one active old versions before reset and then do the reset on another , and just if needed compare and import/export what you need to ease up the process.

Hope this helps.

Regards,
Drazen

March 11, 2025 at 9:11 am #16800151

robE-5

Thats great, thankyou. I'll do that.

Two things to note:
1) a reset fixed it. This says to me that RSS turning on SSL does something somewhere to misdirect WPML when handling endpoints.
2) I considered migrating from LifterLMS to LearnDash but LifterLMS is a friendlier product for students and I hope i wont be running courses in Vietnamese, just other content. We will see....

Thanks again!
Rob