Skip Navigation

本主题包含 0 則回覆 ,有 0 声音 。

最后由 johanv-3 5 days, 23 hours前 更新。

协助者:: Noman.

作者 文章
3 4 月, 2025 at 8:43 上午

johanv-3

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?

3 4 月, 2025 at 10:33 上午