Background of the issue:
I am working on a site under development and trying to resolve issues with WPML. The database is new, and nothing is in memory.
Symptoms:
It creates bad links. The database is new, wpml is installed even on the default template, and still the same. It creates some random URL with duplicate languages: en/en/en/en/en
Questions:
It creates bad links. The database is new, wpml is installed even on the default template, and still the same. It creates some random URL with duplicate languages: en/en/en/en/en