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)

This topic contains 3 replies, has 0 voices.

Last updated by Bobby 1 year, 1 month ago.

Assisted by: Bobby.

Author Posts
March 5, 2025 at 4:29 pm #16779880

chrisB-89

Background of the issue:
I'm the lead developer of LifterLMS, and we received a report that a user of WPML cannot access the Dashboard page or sub-pages. I'm trying to set things up with a couple of languages locally to test and I'm not able to access pages when using the `lang=es` query param, even when using the page ID in case there's some auto-translation that's happening (ie. ?p=18&lang=es). It's behaving differently on their staging site vs. locally with what looks like the same initial WPML settings (?lang= URL structure, etc).

Symptoms:
URLs result in a 404 error with the lang query param set. The menu disappears completely when adding ?lang=es on any page.

Questions:
Why do URLs result in a 404 error with the lang query param set?
Why does the menu disappear completely when adding ?lang=es on any page?

March 5, 2025 at 5:09 pm #16780056

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Hi Chris,

Based on the URL structure you shared with us, I believe this is most likely happening due to the translation not being published yet.

Can you please verify that the translation is 100% finished and published?

When a translation is in draft stage you will see the page ID in the structure when viewing it as an admin in the front end.

Also, when accessing a translation in the backend you will also need to use the page ID.

Please feel free to share with me a screencast of the issue you are experiencing in case I am misunderstanding so I can better assist.

March 5, 2025 at 6:38 pm #16780347

Brian Hogg

Hi Bobby,

Thanks for the quick reply! I'm actually the lead developer, the support thread was started via the owner's account.

All jobs under WPML > Translation Management, "Translation Jobs" tab show as Completed. The ones I did send were using the "Publish without Review" option. Is there somewhere else to check for unpublished translations? I never did select that page for translation previously and didn't expect the page to become inaccessible if something isn't translated, or for the nav menu to disappear.

After choosing that page for translation and translating it, I can now go to /dashboard/?lang=es and it redirects to /cuadro-de-mandos/?lang=es.

I'm not sure what you mean by "see the ID in the structure"? The page didn't appear at all in the menu, but after translating it, it now appears when viewing with ?lang=es.

Cheers,
Brian

March 6, 2025 at 9:48 pm #16785484

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Hi Brian,

Thank you for updating me!

It sounds like the issue was resolved by updating the page and it's translation?

If yes, that is great as that would of have been the next step in debugging this type of behavior.

Translations are pulled from our ATE servers and this could of been happening due to a "stuck" translation which gets reset when you re translate or update.

Let me know your results, please.

The topic ‘[Closed] Unable to access pages’ is closed to new replies.