Zen Cart Logo
Forums / Installing on a Linux/Unix Server / how do I move zencart to another directory?

how do I move zencart to another directory?

Locked

Views: 4,025

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
26 Aug 2008, 7:38 PM
#1
mandothrasher avatar

mandothrasher

New Zenner

Join Date:
Jun 2008
Posts:
6
Plugin Contributions:
0

how do I move zencart to another directory?

I've got zencart installed in /store and want to move it to the root of my website. What is involved in moving the installation directory?

v1.3.7 on Linux

Has anyone done this without a complete reinstall?

Thanks

26 Aug 2008, 7:41 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: how do I move zencart to another directory?

Move all files and folders from /store to the root. Edit admin/includes/configure.php and includes/configure.php to remove all references to /store.

There's more info at https://www.zen-cart.com/tutorials/index.php?article=122

12 Sep 2008, 4:44 PM
#3
1plm avatar

1plm

New Zenner

Join Date:
Jul 2008
Location:
Cape-Coast, Ghana WestAfrica
Posts:
53
Plugin Contributions:
0

Re: how do I move zencart to another directory?

I moved my zencart test site store from https://www.tropicxotic.com/zencart TO
https://www.tropicxotic.com/estore
The aim is to create a flash Index -page that will redirect to
https://www.tropicxotic.com/estore).
I know searching https://www.tropicxotic.com/estore will load, but
though I have not yet loaded an index page, when you search the domain https://www.tropicxotic.com, It displays a 404 error and with the old store directory showing in the address bar. (http://www.tropicxotic.com/zencart/index.php)
My Question is, will loading the flash index page stop the 404 error or I need to delete the old directory?
I did as Stated here: https://www.zen-cart.com/tutorials/index.php?article=122 . On a Live test site.

What am I missing?

12 Sep 2008, 5:35 PM
#4
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: how do I move zencart to another directory?

If you now have no index page in the root, and no redirect to the folder then you will get an error if you previously did have an index page in the root.

What am I missing?

An index page in the root?

Vger

13 Sep 2008, 5:55 PM
#5
1plm avatar

1plm

New Zenner

Join Date:
Jul 2008
Location:
Cape-Coast, Ghana WestAfrica
Posts:
53
Plugin Contributions:
0

Re: how do I move zencart to another directory?

Now, I just loaded a test index page in the root of https://www.tropicxotic.com to see if the 404 Error mentioned above will be corrected, but it is still showing an error and not loading the newly uploaded index for the redirect. Any Suggetions?

https://www.tropicxotic.com STILL takes you to
http://www.tropicxotic.com/zencart/index.php.

14 Sep 2008, 10:54 PM
#6
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: how do I move zencart to another directory?

You probably have a .htaccess redirect in the root to the 'zencart' folder.

Vger