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 – 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: Europe/Kyiv (GMT+02:00)

This topic contains 5 replies, has 1 voice.

Last updated by Andrey 5 hours, 17 minutes ago.

Assisted by: Andrey.

Author Posts
January 14, 2025 at 3:12 pm #16593281

valeng

Background of the issue:
My website default language is English, and translated into French,Dutch and German. After translation via WPML, all the translated product pages show in 404 error. For example:
The original default page- hidden link. The translated page shows a 404 error: hidden link.

I have went to "Settings > Permalinks" and resaved the permalinks, but not working.

Symptoms:
When I switch to the translated product page, it shows a 404 error. The original default page is hidden link. The translated page shows a 404 error: hidden link.

Questions:
Why does the translated product page show in 404 error? Could you help me with this issue? thanks

January 14, 2025 at 3:43 pm #16593776

valeng

here image attached is what i got from Cloudways support. but i don,t know how to fix it .

微信图片_20250114234031.png
January 14, 2025 at 3:58 pm #16593934

valeng

here is the debug image, hope it helps

image.png
January 14, 2025 at 9:36 pm #16594998

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for contacting WPML support.

I noticed that the URLs for the original and translated products are different.

Are you using features that might remove the category part from the product URL? If so, I recommend testing without that feature.

Please remember to back up your database before making any changes.

January 14, 2025 at 10:33 pm #16595084

valeng

Hi Andrey,

Which features will remove the category part from the product URL please?
I think my Default English prduct URL has been changed, and the translated content URL is correct. This was not what i intend to do. Could you help me solve the issue? thanks!

January 14, 2025 at 11:14 pm #16595133
valeng

I notice that the menu section is messy up also.it has duplicated menus show up. May i share you the WP-admin so that you can check it? thanks

New threads created by Andrey and linked to this one are listed below:

https://wpml.org/forums/topic/split-the-menu-section-is-messy/

微信图片_20250115071255.png
January 15, 2025 at 8:04 am #16595836

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Which features will remove the category part from the product URL please?
I think my Default English prduct URL has been changed, and the translated content URL is correct. This was not what i intend to do. Could you help me solve the issue?

Certain plugins, such as Yoast, can remove the category from the URL.

I need to request temporary access (wp-admin and FTP) to your site – preferably to a test site where the problem has been replicated if possible – in order to be of better help. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

January 15, 2025 at 10:39 am #16596663

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for the update.

I have identified the reason for the issue. The product slug translation included a placeholder that was absent from the original string. I removed the placeholder, added the correct translation, cleared the cache, and now it is working properly.

You can view here: hidden link.

I have also attached a screenshot for your reference.

Regarding the menu, I have created a new support ticket and will respond to it shortly. This will help other users experiencing similar problems find solutions when searching the forum. I will post my reply here: https://wpml.org/forums/topic/split-the-menu-section-is-messy/.

Screenshot-2025-01-15-at-12-24-15.png
January 15, 2025 at 11:09 am #16596747

valeng

Yes the product page works now. thanks for your help!

January 16, 2025 at 3:41 pm #16602862

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Great, thanks! Have a nice week!