We had a site created by an agency who set the WPML default language to French while building it. They also set Different languages in directories (hidden link - French, hidden link - English) and enabled "Use directory for default language". However, this configuration is causing issues for us and we would like to change it.
What do we need to configure in order to have English as the default website? If visitors come to the site, we would like hidden link to display our English content, and if users choose to click on the FR translation button while on a page, they will be sent to hidden link. Right now visitors to hidden link get redirected to hidden link
Attempting to change the default language or other language settings appears to cause errors on our website, so I'm just wondering how this can be achieved properly?
You can change the default language in WPML -> Languages -> Site Languages -> Click "Change default language" button -> Select the language you want to make default and save.
You can also turn off "Use directory for default language" in Language URL format section of WPML -> Languages and save, if you don't want to show /en/ for default language.
After that remember to resave Permalinks in WordPress settings (without making any change just save).
IMPORTANT: Remember to take full backup of site and database before making any of above mentioned change. It is highly advised to try this on a staging/test site first.
On the other hand, I'll advise to update WPML plugins to the latest versions.
Please let me know if this helps or I'll try my best to further assist you on the matter.
Regards.
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.