Zum Inhalt springen Zur Seitenleiste springen

Dieses Thema ist gelöst. Hier finden Sie eine Beschreibung des Problems und der Lösung.

Problem:
If you're experiencing a 404 error when redirected to a custom WooCommerce order received page while WPML is activated, but the redirect works correctly when WPML is disabled, the issue might be related to URL endpoint translations in WPML that conflict with WooCommerce.
Solution:
We recommend checking the WooCommerce endpoints. The correct endpoints should be:

/de/kasse/vielen-dank

/en/checkout-thank-you

If you previously used an endpoint like

/en/checkout/thank-you/

, it might not be technically correct. Removing or adjusting the URL endpoint translation in WPML that conflicts with WooCommerce could resolve the issue. It's also important to ensure compatibility from both WPML and the third-party plugin sides.

This solution might be outdated or not applicable to your specific case. 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 the problem persists, please open a new support ticket.

Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.

Dieses Thema enthält 18 Antworten, hat 1 voice.

Zuletzt aktualisiert von frankC-20 Vor 1 Woche, 1 Tag.

Assistiert von: Marcel.

Autor Beiträge
Oktober 11, 2025 um 6:46 a.m. #17476027

frankC-20

Good morning, yes, this is the plugin for the custom thank you page redirect. I just deactivated WPML to see if the redirect plugin works at all. Having WPML deactivated, the custom thank you page loads like a charm. So I contacted the author again about a possible WPML compatibility - he will help in a few days. Please leave this thread open for a week a least so I give you a follow up. Thx, Frank

Oktober 13, 2025 um 7:06 a.m. #17478418

Marcel
Unterstützer

Sprachen: Englisch (English ) Spanisch (Español ) Deutsch (Deutsch )

Zeitzone: Europe/Madrid (GMT+02:00)

Hi Frank,

thanks for the info, sure!

Best Regards,
Marcel

Oktober 17, 2025 um 7:19 a.m. #17492945

frankC-20

Hi Marcel, so what the plugin owner (plugin: https://wordpress.org/plugins/wc-thanks-redirect/; it simply redirects to a custom thank you page) first did was he deactivated the thank you page plugin. However, the order-received endpoint on my website still gave a 404 error - after deactivating WPML (everything updated to the latest versions), the order received endpoint is working right away (e.g. .../kasse/vielen-dank/236178/?key=wc_order_tm26gzhdcAKKR). So obviously his plugin is not involved in this - how is WPML interferring here? I need to know from you what I can do to have WPML activated and a working order received endpoint. Thank you!
Frank

Oktober 17, 2025 um 5:31 p.m. #17494919

Marcel
Unterstützer

Sprachen: Englisch (English ) Spanisch (Español ) Deutsch (Deutsch )

Zeitzone: Europe/Madrid (GMT+02:00)

Hi Frank,

I can’t tell how the plugin behaved in the past or whether it may have worked incorrectly before.

From a technical perspective, the correct WooCommerce endpoints are:

/de/kasse/vielen-dank
/en/checkout-thank-you

The previous version you mentioned — /en/checkout/thank-you/ — wasn’t technically correct, even if it worked before. I suspect that the plugin may have written an option or transient that is still active even after deactivation. If that’s the case, there isn’t much I can test on my side since it depends on data stored within your installation.

Also, the fact that it works once WPML is deactivated doesn’t necessarily mean that WPML is the root cause. Compatibility needs to be ensured on both sides. We can’t include specific adjustments for each third-party plugin, so this likely needs to be handled by the plugin author to ensure full compatibility with WPML.

Best regards,
Marcel

Oktober 23, 2025 um 2:31 p.m. #17512888

frankC-20

Thank you. There was a URL endpoint translation / entry (order recieved) in WPML that was causing the conflict. After removing it, everything works fine. Thanks again. Frank