Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
When you create a product translation in WooCommerce, it imports all the data, but the page only works after you open the product in the WordPress editor and click Save. Without this step, it results in a 404 error, even after trying to 'Recreate permanent links'.
Solution:
We recommend following the steps outlined in the documentation to address issues with .htaccess that might be causing the 404 errors. Please check the solution provided here: https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/

If this solution does not resolve your issue or seems irrelevant due to being 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 for further assistance at WPML support forum.

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.

Tagged: 

This topic contains 4 replies, has 0 voices.

Last updated by amandaB-11 3 weeks ago.

Assisted by: Shekhar Bhandari.

Author Posts
March 25, 2026 at 10:47 pm #17927639

amandaB-11

I create the product translation (WooCommerce), it brings all the data, but the page only works after opening the product in the WordPress editor and clicking Save. If I don't do that, it keeps giving a 404 error.
I already tried 'Recreate permanent links' and it still doesn't publish directly.

March 26, 2026 at 5:13 am #17927797

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for contacting WPML support. I'd be happy to assist you on this issue.

Can you please use the solution provided here and see if it helps:
https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/

Look forward to your reply.

Thanks

March 26, 2026 at 11:23 am #17928732

amandaB-11

Hey, I added the script to functions.php and it still doesn't work.

March 26, 2026 at 12:03 pm #17928883

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.

So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply.
hidden link

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

March 26, 2026 at 12:25 pm #17928925

amandaB-11

I identified that a script was interfering with the WordPress workflow using pre_get_posts; editing it resolved the issue. Thank you for the support.