Forums / Customization from the Admin / Admin login page redirect

Admin login page redirect

Views: 2,492

Results 1 to 2 of 2
3 Jan 2014, 2:24 AM
#1
brian_anderson avatar

brian_anderson

New Zenner

Join Date:
Feb 2012
Posts:
32
Plugin Contributions:
0

Admin login page redirect

I am moving from zen cart to a different cart. I will for obvious reasons still need to access my zen cart admin for a while. I can access the site and the backend login by using my server name instead of my domain name. I noticed that when I login from login.php, zen cart automatically switched from http://myservername/admin/login.php to http://mydomainname/admin/index.php. Obviously once I change my DNS to point to the new host, if it redirects in this fashion it could cause a problem. Is there a setting for this? Will I be unable to access my admin once I change the DNS?

Thanks-
Brian

3 Jan 2014, 3:02 AM
#2
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Admin login page redirect

Brian Anderson:

I am moving from zen cart to a different cart. I will for obvious reasons still need to access my zen cart admin for a while. I can access the site and the backend login by using my server name instead of my domain name. I noticed that when I login from login.php, zen cart automatically switched from http://myservername/admin/login.php to http://mydomainname/admin/index.php. Obviously once I change my DNS to point to the new host, if it redirects in this fashion it could cause a problem. Is there a setting for this? Will I be unable to access my admin once I change the DNS?

Thanks-
BrianMaybe editing the 2 configure.php files to use myservername instead of mydomainname will solve your problem!

just for my interest, why are you changing carts?