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

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 11 replies, has 0 voices.

Last updated by Kor 1 week, 3 days ago.

Assisted by: Kor.

Author Posts
July 15, 2025 at 6:44 am #17236129

deepsonT

Background of the issue:
I am trying to fix a 404 error that occurs when a user adds a product to the cart from the Arabic site, then switches to English and clicks 'Keep cart' in the WPML popup. The issue can be seen on this page: hidden link. I expected that when clicking 'Keep Arabic' from the popup after switching languages, it should return to the same Arabic product or category page without showing a 404 error.

Symptoms:
I got a 404 error page after clicking 'Keep Arabic' in the popup. The redirection goes to a valid Arabic URL like hidden link, but it still shows 404, even though the Arabic product or category exists and is published.

Questions:
Why does the 404 error occur when switching languages and clicking 'Keep Arabic'?
How can I ensure the redirection works correctly without showing a 404 error?

July 16, 2025 at 5:44 am #17240021

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for contacting us.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

July 17, 2025 at 5:58 pm #17247522

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I've deactivated some plugins to keep the site in a minimal state for testing. The language switcher in the footer seems to work correctly, even when there are items in the cart: hidden link

Could you let me know which third-party plugin is responsible for the popup cart confirmation feature? I’d like to investigate further, as there may be a compatibility issue.

July 19, 2025 at 5:13 am #17252132

deepsonT

Hi Support,

Okay great.

WooCommerce Multilingual & Multicurrency

This plugin have the option for that popup cart confirmation. So please activate this and check then let me know.

Thanks
Sahith K

July 20, 2025 at 5:27 pm #17253253

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Could you recheck now? I've activated the WooCommerce Multilingual & Multicurrency and I'm not getting the page 404 yet when switching language with a product in cart.

July 21, 2025 at 5:04 am #17253704

deepsonT

Hi Yes, I checked from product page if i added an item from arabic product page and select language switcher and keep arabic button click whoing proper arabic product page without any error. Thanks.

But our all catagory page urls and product page urls are changed now. Bcz according to their reqirement earlier we removed or changed the slug like category and product to without these tags in the url.

hidden link

now it shows /product/
and in category shows/product-category/ So

Permalink Manager for WooCommerce - this was the plugin we activated it for removing the above from URL and make it all URL without this for SEO purpose.

So may this conflict with wpml cart confirmation popup 404. So can you please try by activate this or which cause actually 404. And Please give a solution.

Thanks

July 21, 2025 at 8:37 am #17254135

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've checked, and it looks like to me this Permalink Manager for WooCommerce plugin is not tested or compatible with WPML from our side. But the author mentioned that this plugin is compatible with WPML https://wordpress.org/plugins/permalink-manager-for-woocommerce/ . You need to check with the plugin author about this. Let me know how it goes.

July 22, 2025 at 7:12 am #17257921

deepsonT

Okay I will check with the compatibility things that you mention with the plugin support team and contact with you.

July 22, 2025 at 7:32 am #17257971

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Alright then, let me know how it goes.

July 22, 2025 at 7:51 am #17258007

deepsonT

https://wordpress.org/support/topic/popup-cart-confirmation-causing-404-after-language-switch-multilingual-cart-iss-2

I added a support to them and tell our discussions and your last message. You can follow here. Or I will update you once get any reply
Thanks

July 24, 2025 at 4:41 am #17265915

deepsonT

Hi They will not replied yet. So Can I remove that staging website sent it with you. Bcz we need to remove it from that server. We already findout the issue coming from conflict with that plugin. So for further checking if needed we will provide new staging.

Thank you

July 24, 2025 at 8:33 am #17266456

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Alright then, please let me know how it goes.