Background of the issue:
I have a custom post type page where the original and translated page have the same slug. When I access hidden link it works normally.
But when I try to access the english version hidden link it results in an infinite redirect loop.
hidden link redirects to hidden link with x-redirect-by = WordPress
hidden link redirects to hidden link with x-redirect-by = WPML
Symptoms:
This happens from time to time and I have to clear the rewrite_rules manually in order to make it work. For some reason, sometimes the rewrite_rules is populated with the word glosario ( in spanish ) instead of glossary.
I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.