Background of the issue:
I am trying to translate WooCommerce product slugs, but the slugs of certain translated products are not generated correctly. The slugs appear as: /nl/?post_type=product&p=327605, while the English (main) slugs are fine. I have tried creating a duplicate of the site, deactivating all other plugins/themes, saving permalinks, and using Tools > Sync removed product meta from original products to translations. The issue can be seen here: 隐藏链接.
Symptoms:
The slugs of translated products are incorrect, appearing as query strings instead of proper slugs, making the translated products invisible in other language categories.
Questions:
Why are the translated product slugs not generated correctly?
How can I fix the issue of incorrect slugs for translated products?