Skip Navigation

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

Problem:
The client was experiencing an issue where translated taxonomy slugs for a WooCommerce taxonomy were not being updated on the frontend. For example, the slug 'a-b-c' was changed to 'a-b', but the link on a product page still showed 'a-b-c', even though the correct URL should be 'a-b'. The client had already cleared the WPML cache, saved permalinks, and cleared all other caches, but the issue persisted.
Solution:
We recommend checking for any third-party plugins that might affect the behavior of the translated links, as they can sometimes cause unexpected issues. Additionally, try translating the taxonomy using the native WordPress screen by navigating to Product → Categories.
It is also advisable to update the WPML plugin to the latest version, currently 4.6.8, along with any add-ons, to take advantage of the latest bug fixes and improvements. You can find the latest releases under My Account -> Downloads on our site. Follow the provided instructions to update your WPML installation. Please ensure you back up your database before proceeding with the update.

If this solution does not seem relevant to your situation, please open a new support ticket with us, and we'll be happy to assist you further.

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 3 replies, has 2 voices.

Last updated by Andrey 1 year, 7 months ago.

Assisted by: Andrey.

Author Posts
November 23, 2023 at 1:29 pm #14908499

alexanderK-29

I was translating taxonomy slugs for a woocommerce taxopnomy
somehow, these slugs are not udapted in the frontend.
Example
I had the slug "a-b-c"
changed it to "a-b"
still, the link on a product page is "a-b-c". although the correct url is "a-b"

I clread wpml cache, saved permalinks, killed all cache, the issue stays the same

Kind regards
Aex

November 23, 2023 at 10:52 pm #14912551

Andrey
WPML Supporter since 06/2013

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

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

Thank you for getting in touch with WPML support.

To better understand the issue, please provide us with screenshots. Have you tried deactivating WPML temporarily?
If the issue still persists, try deactivating all other plugins except WPML.

It is important to backup your database before making any changes.

November 24, 2023 at 7:57 am #14913675

alexanderK-29

Hi

thanks for getting back.
Somehow, after a couple of hours, the taxononmy slugs have now been updatedt on the webpage.
I am now wondering, if this has to do with the automatic translation process? I cleared the cache several times, without any change. 3, 4 hours after changing the slug, it somehow, magically appeared on the webpage.

I attached some images

On the prioduct screenshot you see this "by solberg international" link.
I hovered it with my mouse, and it now states the correct url.
But, after transltingthe slug, using the tax translation, it still featured the old link.
Even after cache deleting, etc.

Is there a way to manually force the theme / webpage to refresh those urls?

product-link.png
tax-transaltion.png
November 27, 2023 at 9:21 pm #14934819

Andrey
WPML Supporter since 06/2013

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

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

I cannot say for sure why you do not see an updated translated link. Normally, it updates immediately. It is very likely that 3rd party plugins affect this behavior.

You can also try translating the taxonomy using the native WP screen in Product → Categories.

I suggest updating your WPML plugin to the latest version, 4.6.8, and add-ons to benefit from the latest bug fixes and improvements.

You can check the latest releases under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/

Please remember to backup your database first before you proceed.