My current Magento version is 2.1.5
I have two views: 'English' and 'Arabic'.
When I switch from one English to Arabic it loads initially the correct view.
But if i click after that on a link or if i click on any product in that page it goes to english view.
When I set "Add Store Code to URL" to 'Yes' in Stores > Configuration > General > Web it works properly.
I need to work my store views by putting "Add Store Code to URL" as 'No' only . if i put like this i am getting above mentioned issue. My payment gateway will not work properly if i put "Add store code to url" as 'yes'.
kindly guide me to fix this issue
Ya, I am also facing the same issue. When I add store code in url, works fine. But without store code it is not working. If any one fixed this please share your fix.