cancel
Showing results for 
Search instead for 
Did you mean: 

Language switcher duplicate parameter issue

Language switcher duplicate parameter issue

I have two store view "en" for english and "ar" for arabic. When i click english store view icon, the url gets changed to "https://my-magento-store.com/?__store=en" and after that when i click arabic store view icon, the url gets changed to "https://my-magento-store.com/?__store=en&__store=ar" and returns error page. Please help me to fix this.

2 REPLIES 2

Re: Language switcher duplicate parameter issue

Hi @ragesh_adyog ,

 

Can you check which error are you getting? Mayeb you can check the Magento's logs or the webserver error logs too.

 

Are you using some custom theme?

Maybe you can try with the default theme and without modules to be sure no customization is being used? (I've saw that problem with languge switcher customizations in the past)

Re: Language switcher duplicate parameter issue

Did you try to set the Store Codes?
They are set while creating store views ( Stores > All Stores > Create Store View )