Background of the issue:
I am trying to fix an issue where header links, mainly pages in the car type category, are linking to the wrong language pages. Please check the video for more details: hidden link. I have performed several operations this morning, including clearing the cache in WPML, removing ghost entries from the translation tables, fixing element_type collation, setting language information, fixing WPML tables collation, assigning translation status to duplicated content, synchronizing local job ids with ATE jobs, fixing terms count, fixing post-type assignment, cleaning up and optimizing string tables, and clearing all litespeed cache.
Symptoms:
Header links are directing to the wrong language pages.
Questions:
Why are header links directing to the wrong language pages?
What additional steps can I take to resolve this issue?
Thanks for contacting us. I’ll need temporary access (WP-Admin and FTP) to a test site where the problem is replicated, if possible. This will help me investigate further and determine if any configuration changes are needed.
Please make sure you have a full backup before proceeding, to protect against data loss. You can use the UpdraftPlus plugin
for this purpose.
Your response will remain confidential and visible only to you and me.
✙ To troubleshoot effectively, I may need your permission to deactivate and reactivate plugins or the theme, and adjust site configurations if necessary. This is another reason why having a backup is essential.
It should have been solved. Those wrong links are generated through Bricks Builder query loop. Headers in En and De use the same parent term ID of default language. I changed the term ID to secondary language's, now it seems to be ok. If issue arises again, I will inform you