Introduction:
There is no doubt that Custom Login Redirect Pro is the one and the only extension for Magento which provides custom redirection based on customer log in/new account creation/logout events.
If you are using this extension for redirecting your customer to a custom page after login event, then you may want to keep the customer logged in another store as well.
In order to keep your customer logged in another store after login, just note the following steps:
Steps:
1. Configure Cookie Settings
Go to: System > Configuration > General > Web > Session Cookie Management and configure as:
- Cookie Lifetime = 3600
- Cookie Path = /
- Cookie Domain = .domain.com
2. Configure Customer Settings
Go to: System > Configuration > Customers > Customer Configuration > Account Sharing Options and configure as:
- Share Customer Accounts = Global
3. Configure Custom Login Redirect Pro Settings
Go to: System > Configuration > MagePsycho Extensions > Custom Login Redirect Pro > Customer Group Wise Login Redirection Url and configure as:
- Customer Group1 = http://store1.domain.com
- Customer Group2 = http://store2.domain.com
- …
4. That’s all
Refresh the cache of Magento backend & browser.
Now, try to login from domain.com (or any store configured under same Magento installation) as Customer Group1 and you will be redirected to store1.domain.com with logged in status.
Notes: This only works if your store URLs are configured as sub-domains or main domain with store codes turned on.
Thanks for reading!