Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

This topic contains 3 replies, has 0 voices.

Last updated by Shekhar Bhandari 1 day, 13 hours ago.

Assisted by: Shekhar Bhandari.

Author Posts
January 18, 2025 at 11:45 am #16608993

gerwinV-2

Background of the issue:
I am trying to set the canonical URL for translated products to their corresponding translated category pages to avoid keyword duplication and improve search engine rankings. I have products like Ammonia 5%, Ammonia 15%, and Ammonia 25% grouped under a category named 'Ammonia'. This setup works on the Dutch site, but not on the English or German translations.

Symptoms:
The canonical URLs for translated products in English and German still reference the Dutch category page instead of their respective translated category pages.

Questions:
How can I configure WPML to ensure that the canonical URLs for translated products point to their respective translated category pages?
Is there a specific setting in WPML or Yoast SEO that needs to be adjusted to fix the canonical URL issue for translated products?

January 20, 2025 at 3:57 am #16611607

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for contacting WPML support. I'd be happy to assist you on this issue.

This should happen without the need of any further settings.

Can you provide me a link where I can see this issue, along with correct and wrong results?

Have you tried disabling all non-WPML plugins, switching to one of the default themes, and checking whether the issue still persists or not?

Please remember to create a backup of your site (both files and the database) before making any updates or changes. This is always a good practice.

Look forward to your reply.

Thanks

January 20, 2025 at 7:40 pm #16615392

gerwinV-2

You can visit the dutch and english translation of the following product:

hidden link
hidden link

The english site is now referring the the product instead of the category:
hidden link

Something is going wrong!

January 20, 2025 at 7:41 pm #16615396

gerwinV-2

A better example is ammonia:

Dutch version: hidden link
English version: hidden link

Check the canonical url on the english verison redirecting to the dutch version of the category page.

January 21, 2025 at 4:23 am #16616306

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello,

To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.

So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply.
hidden link

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

January 22, 2025 at 5:22 am #16621027

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

The login information is not workings showing "Invalid login information." errors, can you please check and update the details.

You can edit your previous private reply to send the updated login details.

Thanks