Background of the issue:
I am trying to get WPML and CiviCRM to work together without WPML interfering with CiviCRM links. Specifically, WPML should not modify URLs like hidden link by inserting a two-letter language code.
Symptoms:
When WPML is enabled, it breaks the links to CiviCRM resources by inserting a two-letter language code into the URL, leading to a page not being found. Instead of the expected CiviCRM form, I get a generic placeholder page.
Questions:
How can I prevent WPML from modifying CiviCRM URLs? (everything where the path name begins with /civicrm)
What are the best practices for integrating WPML with CiviCRM without causing URL issues?