This thread is resolved. Here is a description of the problem and solution.
Problem:
You are setting up your site to open in Arabic by default and want to switch to English when needed. However, when you select English, the site redirects back to Arabic.
Solution:
We have tested your site and found that the language switch works correctly, redirecting to the English version of the site as expected. We recommend trying the following steps:
1. Clear your browser's cache and cookies.
2. Try accessing your site using a different Internet browser to see if the issue persists.
If these steps do not resolve the issue, it might be due to a configuration that is either outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins.
If the problem continues, please open a new support ticket with us for further assistance at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.