Background of the issue:
I am trying to translate posts on my site, but the internal links in the translated posts are not displaying correctly. Instead of directing to their intended destinations, they are pointing to the link of the currently open post. The issue can be seen on the page: hidden link
Symptoms:
The internal links in the translated posts are pointing to the link of the currently open post instead of their correct destinations.
Questions:
Why aren't the internal links in the translated posts directing correctly?
How can I fix the internal links to ensure they point to the correct destinations?
Thank you for contacting the support. Meanwhile this ticket is attended by one of my colleagues, may I ask you to check with only WPML plugins and with a default WP theme like 2021 or 2024?
IMPORTANT: Please take full backup of your website and database beforehand.
It is highly advised to try this on a staging/dev site first, so your live website isn't compromised.
I'm Osama from WPML forums support. I'll be glad to help you today.
First of all, sorry for the late reply; it was due to a higher workload.
1) I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why 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.
2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)
You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line: