homepage Welcome to WebmasterWorld Guest from 54.204.231.110
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Ecommerce
Forum Library, Charter, Moderators: buckworks

Ecommerce Forum

    
Magento Multi Store Issue - login to secondary store redirects to main store
almo136




msg:4455153
 9:21 pm on May 18, 2012 (gmt 0)

I have set up 2 stores under one Magento installation using this method:
[webdevster.com...]

Each store has it's own URL ie. [mainstore.com...] and [secondarystore.com...] (add on domain in cpanel)

If I navigate to to mainstore and then switch to secondarystore using the store switcher everything works as expected. I can log in on the secondary and remain there.

The problems arise if I navigate directly to secondarystore in the beginning. If I do this and then try logging in I get automatically redirected to [mainstore.com...]

Does anyone know why things only work correctly if I navigate to [mainstore.com...] and then switch to the secondary store?

 

phranque




msg:4455244
 7:38 am on May 19, 2012 (gmt 0)

i would compare the responses for both scenarios using a tool such as Live HTTP Headers plugin for firefox and look for clues in the cookies and response headers.

if you're up to it i would also look at the script that is executed when you submit the login form and try to find out where and why it is generating the redirect response.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Ecommerce
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved