Skip Navigation

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

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 7 replies, has 0 voices.

Last updated by Waqas Bin Hasan 7 hours, 40 minutes ago.

Assisted by: Waqas Bin Hasan.

Author Posts
February 24, 2025 at 1:58 am #16738832

andreasS-164

Background of the issue:
I am experiencing several issues with WPML on my website, particularly after restoring a backup. The issues include 404 errors, incorrect URL links on translated pages, and problems with string translations. The issues are affecting my WooCommerce shop pages and other parts of the site. Here are the URLs where the issues can be seen: hidden link; hidden link.

Symptoms:
404 error caused by WPML, URLs on translated pages link to the original language, and string translations not showing in the search results.

Questions:
How can I resolve the 404 errors caused by WPML?
Why are URLs on translated pages linking to the original language?
How can I fix the issue with string translations not showing in the search results?

February 24, 2025 at 9:20 am #16739609

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

As per our forum policy we can only handle one issue per ticket, so in this ticket I'll take care of 404 issues. For other issues, please report in separate tickets, so you can get more to the point help, instead of mixing several issues in one big ticket.

I checked several pages in your site (including translations) in an effort to find 404 issues but can't see any. Can you please provide the list of the pages or content where this issue is happening?

On the other hand, I recently had a similar issue where an SEO plugin was causing a similar issue. Can you please try resetting the SEO Press plugin settings? Usually a simple deactivate, clearing all caches and activating again is helpful.

If that doesn't work, I request checking with only WPML plugins and a standard theme, while deactivating all other plugins to see if the problem is really coming from the WPML?

IMPORTANT: Please take full backup of your website and database before trying any of the above mentioned. 

It is highly advised to try this on a staging/dev site first, so your live website isn't compromised.

Please let me know your findings and I'll try my best to help you further on the matter.

Regards.

February 27, 2025 at 10:31 am #16755173

andreasS-164

Hi Waqas,

thank you for your feedback. I have opened 2 new tickets for the other issues. Issue 3 (with the string translations) is solved.

I'll see if we can sort out the issue with URLs linking to the original language instead of the set language, maybe they are somehow related.

I will give you an update in a couple of days!
Kind regards

February 27, 2025 at 1:12 pm #16756224

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Sure, please take your time and let me know when you're ready.

February 28, 2025 at 10:46 am #16760280

andreasS-164

Hi Waqas,

the page runs into a permalink issue when you do the following: open a page in German and in English in a second tab. Then really quickly click on different buttons on both tabs. This will sooner or later result in a 404 error. And I assume it's related to the fact, that on translated pages, the URLs of most buttons (altough they are dynamic links) link to the original (German) version.

On a backup page from January, with the same plugins, I don't have this issue.

Best regards

February 28, 2025 at 12:32 pm #16760744

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

I see that most of the buttons and the links in the footer are pointing to default language links in hidden link (translated home page).

I, however, couldn't reproduce 404 error.

I see that for your English links problem pointing to the German links, is being addressed in https://wpml.org/de/forums/topic/auf-uebersetzten-seiten-linken-links-im-main-bereich-auf-originalsprache/. I'll recommend to wait for the fix on this issue, so we can then check again about the 404 issues here.

Please let me know when the other issue has been resolved.

March 3, 2025 at 4:53 pm #16770141

andreasS-164

Hi Waqas,

thank you for your feedback. In the meantime I was able to solve the issue with the English/Italian links pointing to the German version. Under Languages, the Theme-Translation got automatically disabled after updating to WPML 4.17.0.

However, the issue with the 404 errors remains. I found out, that when disabling Divi Plus, the 404 doesn't occur anymore. So I assume it's related to Divi Plus, WooCommerce and WPML. It also happens when switching languages on a product category page, like here: hidden link

(right now, Divi Plus is disabled to avoid the issue)

March 4, 2025 at 6:41 am #16771544

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

Looks like the  "Divi Plus" plugin is not compatible with WPML:
- hidden link
- hidden link
- hidden link

I couldn't find any mentioning of WPML and Translations as well.

I recommend you to contact the plugin author and request a compatibility update. WPML offers very useful information for developers aiming to make their themes/plugins compatible. Please see https://wpml.org/documentation/support/ and https://wpml.org/documentation/support/achieving-wpml-compatibility-for-your-themes-and-plugins/ for details.

Theme and plugin authors are welcome to join WPML’s Go Global program, which helps them make their code multilingual ready. Together with WPML’s compatibility team, they can test and confirm that their theme or plugin works with WPML. See https://wpml.org/documentation/support/go-global-program/ for details and you can refer your theme/plugin provider to this as well.