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-08:00)
Tagged: Exception
This topic contains 6 replies, has 1 voice.
Last updated by yubicoI 4 hours, 24 minutes ago.
Assisted by: Bobby.
Author | Posts |
---|---|
December 4, 2024 at 7:10 pm #16474074 | |
yubicoI |
Background of the issue: Symptoms: Questions: |
December 6, 2024 at 10:00 am #16485293 | |
Laura Supporter
Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+01:00) |
Hi, thanks for contacting us. Before further debugging the issue, could you please update WPML and String Translation? You're using an old version which isn't compatible with your WordPress version, so there's a chance your issue might be solved with an update. |
December 9, 2024 at 2:10 pm #16493533 | |
yubicoI |
Hey there, that was the first thing I tried, but it didn't resolve the issue. I uploaded the diagnostics file after rolling back my local environment since I made a lot of tweaks to debug this, which is why it shows the older versions, but, after rolling back, I did update everything, and, still see the issue. For what it's worth, I see this issue when disabling all plugins besides WPML as well as switching my theme to a stock WordPress theme like TwentyTwentyFive and visiting the relevant URLs directly. |
December 9, 2024 at 5:31 pm #16494587 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Hi there, The issue is happening only with the translations correct? When I test the default language URLs I get 200 OK. The translations do give me a 301 redirect >>> hidden link > -------------------------------------------- Status: 301 Moved Permanently >>> hidden link > -------------------------------------------- Status: 301 Moved Permanently >>> hidden link > -------------------------------------------- Status: 301 Moved Permanently >>> hidden link > -------------------------------------------- Status: 301 Moved Permanently >>> hidden link > -------------------------------------------- Status: 301 Moved Permanently Please go to WPML->Lanugages and switch your language URL format to Different languages in directories, and let me know your results. |
December 10, 2024 at 7:47 pm #16500252 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Hi there, Following up on this, were you able to review the information shared above? |
December 11, 2024 at 7:08 pm #16505189 | |
yubicoI |
Just to be clear, the pages in question do not have translated versions, the intended experience is that a user is sent to the homepage in the language they chose if attempting to change language on one of those pages. Other pages on the site do this correctly. This problem is also solved by using non-unique slugs for the pages, but, WordPress and WPML should support identical slugs like this as far as I understand considering the parent is different. If I change the URL format to "Different languages in directories", I have the following redirects reliably hidden link hidden link The redirection is by WPML (looking at the HTTP headers) |
December 11, 2024 at 7:10 pm #16505192 | |
yubicoI |
Just a note that I'm testing these settings changes locally, nothing with my live site configuration has changed. |