In short, the x-default will always be assigned to the default language set within WPML->Languages. It can be changed but that requires custom work which is outside the scope of our support.
Where can i see to modify the x-default using custom code? The problem that i encounter is that we are using 2 websites which is set as per domain language, and each website has its own wpml installed.
The x-default will always be the default language select if you want to change it you can do it using this code from the following ticket, but do note this is not an official suggestion and simply a workaround, if further adjustments are required we recommend reaching out to a developer or a WPML contractor from here : https://wpml.org/contractors/
The topic ‘[Closed] x-default’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.