Skip Navigation

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

Problem:
You are experiencing an issue where accessing a specific product page on your WordPress site using WPML redirects you to an unexpected page.
Solution:
We have identified that this redirection is caused by the WordPress core, not by WPML plugins. To resolve this, we recommend editing the product page and modifying the slug. Here is a step-by-step guide:
1. Go to the product page: /it/shop/cellulari-ricambi-phone-parts/motorola/81700/ (in Italian).
2. Change the slug from '81700' to '81700-it'.
This modification should prevent the WordPress core from executing the unwanted redirection.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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. If needed, please open a new support ticket at our support forum for further assistance.

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 Carlos Rojas 1 week ago.

Assisted by: Carlos Rojas.

Author Posts
March 25, 2025 at 12:47 pm #16857629

ruikaiW

<b>Background of the issue: </b>
I am experiencing an issue with my WordPress site using WPML. I am trying to access a specific product page on my site.

<b>Symptoms: </b>
When I open /it/shop/cellulari-ricambi-phone-parts/motorola/81700/, it redirects to /it/shop/cellulari-ricambi-phone-parts/motorola/sim-tray-per-motorola-edge-20-lite-xt2139-1-verde/81700/, which is unexpected.

<b>Questions: </b>
Why is there an unwanted redirection from one product page to another?
How can I stop the redirection from happening?

I have disabled all plugins, only WooCommerce , WPML/WCML and its addon plugins enabled , also swtiched to StoreFront theme, issue remains

March 27, 2025 at 9:43 am #16867201

Carlos Rojas
Supporter

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

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

This redirection is created by the WordPress core, not by WPML plugins. To avoid this redirection, I recommend editing the product /it/shop/cellulari-ricambi-phone-parts/motorola/81700/ (in Italian) and adding a change to the slug, for example:
- Actual slug: 81700
- Changed slug: 81700-it

This should be enough for the WordPress core to recognize the URL and not execute the redirection.

Regards,
Carlos