We have a custom post type called "case studies", and the slug for it is translated via string translation.
Straight after resaving permalinks, it works well. If we edit one of the case studies (not even a content change, just going to the edit screen and clicking update is enough to break the permalinks). The symptom is that the translated slugs don't work and return a 404.
The desired URL structure is as follows - these are just some examples to show that the term case-studies in the URL should be translated for each language/locale:
Sorry for the delay in this - I'll be doing some testing today. A fix for another issue we face could also be the fix for this. Once I've done that bugfix, I'll test this again.
Sure! Please test according to the instructions shared by my colleague Drazen. Additionally, ensure that each post type in every language has a distinct slug. As per the guidelines by WordPress, slugs cannot be identical as it can lead to unusual issues on site.
Let us know the update.
Best Regards,
Prosenjit
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.