cancel
Showing results for 
Search instead for 
Did you mean: 

Login and redirect customer to his store website in magento 1.9.2.2

Login and redirect customer to his store website in magento 1.9.2.2

Hello,

 

I have setup multi store multi website in Magento 1.9.2.2

 

In a multi store, I'd like to force users to login to the same website they have registered. They might use any login form, in any website, but the form should check their credentials and redirect them to the correct website.

 

For Ex.

Suppose, customer register at Website A. Customer Have try login from Website B,Then customer should redirect to WebsiteA with auto login at websiteA.

 

I have tried following solution but did not work for me.

https://magento.stackexchange.com/questions/165528/login-and-redirect-customer-to-his-website

Using above solution user has redirect to his registered store but not login.

Also i have set "Share Customer Accounts": Global but did not work.

 

Please suggest.

 

Thanks