[Resolved] Custom Post Types with ACF Pro, Permalink Errors on Updates
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where changes to the permalink of a custom post type (CPT) created with ACF Pro prior to version 6.2 are not being reflected in the WPML settings. The WPML settings page continues to display the original permalink instead of the updated one. Solution: We recommend going to WPML -> String Translation, searching for the old slug, and deleting the string. After doing this, check if the slug is updated correctly in the WPML settings.
We found a bug within the latest plugin-versions of WPML and ACF Pro.
Case description: If you add a CPT with ACF Pro (current version) and enter a custom permalink, that is correctly displayed within WPML Settings to translate to another language. Doing a change of the permalink in ACF Pro, that change is shown in WPML Settings without any problems too.
BUT, it looks like that for existing CPTs that were added with a ACF Pro Version PRIOR to 6.2, changes in the permalink are NOT reflected within WPML Settings. WPML-Settings page shows always the original permalink that was added the first time when the CPT setup was done. ("abc" was entered in ACF, but WPML-Settings is still showing the original value from ACF).
So we need a way to push this permalink to WPML to translate it. We got stuck in a project where we need to change the URLs during the next days!
How can we update the permalink of the default language to reflect the permalink-change in ACF Pro?
We really appreciate your help to get not stuck in our project!
Thanks for contacting WPML forums support. I'll be glad to help you today.
First of all, sorry for the late reply due to a higher workload. I would need to request temporary access (WP-Admin and FTP). Preferably to a test site where the problem has been replicated.
Your following answer will be private, which means only you and I can access it.
❌ Please backup your database and website ❌
✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
Hello,
Yes, that solves the issue with "category" and the other not updated strings.
Thanks.
Best, Andi
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.