Hi, I would like to clarify the issue a bit.
We have a product that is associated with several product categories.
The default state for WC is that for this product I can access through any of the categories' URLs.
Currently, WPML is Deactivated and for a product named 'fungisal-p'.
All these URLs will work and show the same product and keep the URL with the category slug.
hidden link hidden link hidden link hidden link
Once I activate WPML, If I try to access any of the links above that are not the 'chicken-products' category URL they are all redirected back to the chicken-products URL - thus not allowing me to view the product under the other categories URL.
This is the issue I am trying to resolve, i want to have WMPL active and still keep the product categories' URLs available.
I hope this is now clear and you can help me resolve this.
After toggling the WPML plugin on and off, I've noticed that the links no longer behave as they did previously. When I click on the links you provided earlier, they all seem to redirect me to the "chicken-products" category. Could you please verify this?
Could you also provide instructions on how to select a category for a product so that it shows up as the category slug?
If the links still redirect you the the chicken-products URL after WMPL is off -most likely this is a browser redirect cache - you can add any GET param and that should work
I am not sure about the second thing you asked - instructions to select a category slug?
I can replicate the issue now and I will escalate this further to our 2nd Tier Support for further investigation. I will come back to you once I've feedback.
I appreciate your understanding. I currently don't have any solutions or new information regarding this issue, but I will inform you promptly once I receive an update from our second-tier support team.
The topic ‘[Closed] wpml force the url to the default category path’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.