If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / Move store from folder to root

Move store from folder to root

Started by joem83 on 20 Aug 2012, 4:52 PM · Views: 1,939

Results 1 to 8 of 8
20 Aug 2012, 4:52 PM
#1
joem83 avatar

joem83

Zen Follower

Join Date:
Aug 2012
Posts:
138
Plugin Contributions:
0

Move store from folder to root

I am using godaddy, and orginally setup zencart[which they offer], in (website.com/zencart), we decided to change this so the zencart info will be in the root. (website.com) I went into the config.php file and changed:
define('DIR_WS_CATALOG', '/zencart/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');
to
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

I have seen this in Tutorials/FAQs, but it does not appear to work.
Is there something I am missing? I have changed this in the admin page as well

20 Aug 2012, 4:55 PM
#2
joejoejoe avatar

joejoejoe

Zen Follower

Join Date:
Oct 2011
Location:
AZ
Posts:
383
Plugin Contributions:
0

Re: Move store from folder to root

Did you follow all the steps in the tutorial, or just change lines in the config files? Because you also need to physicaly move all those files from website.com/zencart/whatever up one level to website.com/whatever.....

20 Aug 2012, 5:01 PM
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,140
Plugin Contributions:
56

Re: Move store from folder to root

joem83:

I am using godaddy, and orginally setup zencart[which they offer], in (website.com/zencart), we decided to change this so the zencart info will be in the root. (website.com) I went into the config.php file and changed:
define('DIR_WS_CATALOG', '/zencart/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');
to
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

I have seen this in Tutorials/FAQs, but it does not appear to work.
Is there something I am missing? I have changed this in the admin page as well
Did you change the file-system and cache folder values in the configure.php files, too? You'll need to edit each of the original configure.php files (remember that the admin file is not the same as the catalog version) and change all occurrences of /zencart/ to /.

20 Aug 2012, 5:06 PM
#4
joem83 avatar

joem83

Zen Follower

Join Date:
Aug 2012
Posts:
138
Plugin Contributions:
0

Re: Move store from folder to root

I moved all the files from /zencart to the root of the website, and changed the info in the config file

20 Aug 2012, 5:09 PM
#5
joem83 avatar

joem83

Zen Follower

Join Date:
Aug 2012
Posts:
138
Plugin Contributions:
0

Re: Move store from folder to root

file-system and cache folder values ? not sure what you are refering to, don't see this in the config file. I changed
define('DIR_WS_CATALOG', '/zencart/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');
to this
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

20 Aug 2012, 5:39 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Move store from folder to root

'does not appear to work' doesn't tell us anything. What do you see when you navigate to the site ?

20 Aug 2012, 5:42 PM
#7
joem83 avatar

joem83

Zen Follower

Join Date:
Aug 2012
Posts:
138
Plugin Contributions:
0

Re: Move store from folder to root

Found it I missed, define('DIR_FS_CATALOG', 'location');

Thank to all

20 Aug 2012, 6:27 PM
#8
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,140
Plugin Contributions:
56

Re: Move store from folder to root

Close to the bottom of each configure.php file is DIR_FS_SQL_CACHE, which will also need to be changed.