Skip Navigation

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

Problem:
If you're editing a product in English and linking to other products using sticky links, you might find that while URLs to products translate correctly, links to product categories do not. For instance, a link like /c/working-time-recorders/ does not automatically translate to its Romanian version /ro/c/inregistratoare-de-timp-de-lucru/ after translation.
Solution:
We recommend manually setting the translated category slugs or using a custom solution to output the correct link based on the current language. Sticky Links in WPML store post and page IDs to prevent broken links when URLs change. However, since product categories are taxonomies and not posts, they don’t have post IDs, which is why Sticky Links do not support automatic translation or redirection for category links. This is a known limitation of WPML, not a bug. For more details, you can refer to our documentation on Sticky Links.

If this solution does not apply to your case, or if it seems outdated, 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. Should you need further assistance, please do not hesitate to open a new support ticket 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.

This topic contains 1 reply, has 0 voices.

Last updated by Andreas W. 2 weeks, 2 days ago.

Assisted by: Andreas W..

Author Posts
May 28, 2025 at 3:16 pm #17084326

andrzejL-6

Background of the issue:
I am editing a product in English on my site hidden link and linking to other products using sticky links. The URL changes to a permalink and after translation, the link changes to the correct page in another language. However, I have issues with linking to product categories. For example, the English link is hidden link and the link in the text points to /c/working-time-recorders/. After translation, it should point to the Romanian version: /ro/c/inregistratoare-de-timp-de-lucru/, but it still points to the English /c/working-time-recorders/.

Symptoms:
The sticky link to the product category does not automatically translate and still points to the English version instead of the Romanian version.

Questions:
How to set up a sticky link to a product category so it is automatically translated?

May 28, 2025 at 7:23 pm #17085310

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

WPML Sticky Links work by storing post and page IDs to prevent broken links when URLs change. However, product categories are taxonomies (not posts), so they don’t have post IDs.

Because of this, Sticky Links do not support automatic translation or redirection for category links like /c/working-time-recorders/.

This is a known limitation of WPML, not a bug. To ensure correct links for categories in other languages, the translated category slugs must be set manually, or a custom solution should be used to output the correct link based on the current language.

Source:
https://wpml.org/documentation/getting-started-guide/sticky-links/

Note that our development team has currently no plans to expand the Sticky Links plugin with new features.

Best regards
Andreas