Page 1 of 1

Admin Login redirect

Posted: Thu Aug 04, 2011 6:08 am
by nicolaswhitham
I have two installations of Alegro Cart one on my development server and one that I am setting up as a production server. When I login as admin they behave differently; on the development server I get redirected after login to the Admin Home page and on the production server I get redirected to the shop page. Please can you advise how to adjust this so that when I login to the production server I get to the Admin home page automatically.

Re: Admin Loging redirect

Posted: Thu Aug 04, 2011 6:18 am
by leo
What's up if you try to reach the admin login page again?

Re: Admin Loging redirect

Posted: Thu Aug 04, 2011 6:29 am
by nicolaswhitham
on my development server I get redirected to the Admin Home page as I would expect. On the production server I get redirected to the Shop Home Page. In both instances I am accessing via http://www.myserver.com/shop/admin/

Re: Admin Login redirect

Posted: Thu Aug 04, 2011 8:34 am
by leo
Fairly speaking I have never faced this problem. I have a lot of parallel installs like
www.mysite.com/shop1/admin
www.mysite.com/shop2/admin
up to 8-10 but everything works here fine.
Do you have possibility to create subdomains?

Re: Admin Login redirect

Posted: Thu Aug 04, 2011 8:37 am
by nicolaswhitham
Yes I do - do you think that will help?

Re: Admin Login redirect

Posted: Thu Aug 04, 2011 8:57 am
by leo
Hmmmm, no. :)
If you have installed your shops into 2 different directories, using 2 different sql databeses you shouldn't have this problem even if you use the same username and password for the admin.
Is it 1.2.6?

Re: Admin Login redirect

Posted: Thu Aug 04, 2011 11:55 am
by nicolaswhitham
Yes they are different databases and different directories

Re: Admin Login redirect

Posted: Thu Aug 04, 2011 11:56 am
by nicolaswhitham
Sorry - yes it is 1.2.6

Re: Admin Login redirect

Posted: Thu Aug 04, 2011 12:51 pm
by leo
PM sent.