Forums / General Questions / Moving cart from sub domain to main

Moving cart from sub domain to main

Views: 623

Results 1 to 2 of 2
24 Feb 2011, 9:06 AM
#1
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Moving cart from sub domain to main

I am making a shop for where I need to first create asub domain at the webhost, and there work with the Zen Cart webshop.

When all is set up and running fine, I will need to move the zen cart webshop from the sub domain to the main domain.

Meaning first: www.**sub.**example.com
And later move up to: https://www.example.com

What is the workflow, and which files/folders holds the links Ineed to change?

24 Feb 2011, 9:16 AM
#2
cadyman avatar

cadyman

New Zenner

Join Date:
Oct 2010
Posts:
27
Plugin Contributions:
0

Re: Moving cart from sub domain to main

stefanl:

I am making a shop for where I need to first create asub domain at the webhost, and there work with the Zen Cart webshop.

When all is set up and running fine, I will need to move the zen cart webshop from the sub domain to the main domain.

Meaning first: www.**sub.**example.com
And later move up to: https://www.example.com

What is the workflow, and which files/folders holds the links Ineed to change?

You have to edit configure files from includes/configure.php and **admin/includes/configure.php **
and change the values :

define('HTTP_SERVER', '');
define('HTTPS_SERVER', '');
define('HTTP_CATALOG_SERVER', '');
define('HTTPS_CATALOG_SERVER', '');
define('DIR_WS_HTTPS_ADMIN', '');
define('DIR_WS_ADMIN', '');
define('DIR_WS_CATALOG', ''); 
define('DIR_WS_HTTPS_CATALOG', '');
define('DIR_FS_CATALOG', '');
define('DIR_FS_SQL_CACHE', '');