Background of the issue:
I am trying to translate the slug of a product category from Dutch to German using WooCommerce taxonomy on my website hidden link. I have used WPML for this translation.
Symptoms:
The translated slug works, but all the links in blocks and the language switcher are still linking to the old slug.
Questions:
Why are the links in blocks and the language switcher still pointing to the old slug after translation?
I regret any inconvenience caused, but to proceed with troubleshooting, I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.
To guide you further, please adhere to these instructions:
1. View the Duplicator instructions video: hidden link
3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.
Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.
Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.
Remove head slugs
Remove main slugs from the category URL.
standard: /product-category/accessories/action-figures/ - Changes: /product-category/action-figures/
I had this option enabled, but that doesnt seem to work with WPML, do you know how this option can work with WPML? I have disabled it now and works as expected.
But would like to make our urls shorter with this options.
I found this article I think explaining the issue:
Thanks for your reply. I've checked the report and it looks like this is fixed for Yoast SEO and not Rank Math yet. I can't see an ETA for this and I'm sorry for the inconvenience. I will come back to you once I've feedback on the report.
The topic ‘[Closed] Translated slug of product category not working on website’ is closed to new replies.