Background of the issue:
I am following up on a previous ticket that was closed before I could respond. We have allowed you to create a copy of our site for investigation. We are experiencing an issue with changing the button URL on the page hidden link. When we change the button URL from hidden link to hidden link, the change does not persist after saving.
Symptoms:
After changing the button URL and saving the post, a revision is created with the new value, but a second later, another revision is created that reverts the URL back to the old value. This issue is reproducible and has been tested on post hidden link. Revisions showing the automatic changes are hidden link and hidden link.
Questions:
Why are automatic revisions being created that revert my changes?
How can I ensure that the button URL change persists after saving?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi,
can you please share the credentials of your site so I can test this? In case you have a screen video showing the issue with clear steps, please share it.
I would eventually also need to request temporary access (WP-Admin and FTP) to your site
– preferably to a test site where the problem has been replicated if possible –
in order to be of better help and check if some configurations might need to be changed
Your next answer will be private which means only you and I have access to it.
❌ Please backup your database and website ❌
✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.
✙ Please add the Links to the […] Edit Screen, the Page/Post where you insert the […] and the corresponding Front End Page/Screen
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi,
Thank you for your patience. From what I can see, this issue isn’t related to a "revision overwrite". Here are the results I’ve observed:
Expected (SHOULD): hidden link
Current (IS RIGHT NOW): hidden link
After saving: hidden link
Language switcher redirect: hidden link
In short, the system is trying to use a permalink that doesn’t exist. Instead, you should use the following as the link target, which matches what the language switcher returns:
hidden link
Also, please note that the CPT uses custom rules (services/%tax_solution_types%) and additional modifications controlled by a multisite-activated plugin: hidden link
Please note that WordPress doesn’t allow duplicate slugs, which is why “-en” gets added automatically. However, if you manually change the slug afterwards, WordPress won’t throw an error since it skips the validation process at that point.