Forums / General Questions / Move my ZC store to another directory

Move my ZC store to another directory

Started by wilsonshen on 6 Mar 2011, 11:25 AM · Views: 981

Results 1 to 3 of 3
6 Mar 2011, 11:25 AM
#1
wilsonshen avatar

wilsonshen

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Move my ZC store to another directory

Hi,
I know this question might be stupid. But i still want to know the answer.
Suppose my store is www.my_domain.com/store/
Now i want to change my store to:www.my_domain.com/shop/
I know install a new ZC under the /shop/directory can get it.
However, is it possible to copy the all files under /store/ to /shop/, and then just change some files.
say, i search "store/" in the admin--tools--developer toll kit
Then change all the "store" to "shop" in the listed files.
Do i need to change the database?

6 Mar 2011, 1:44 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Move my ZC store to another directory

No, no, and no.

It's really a lot easier than that. It's just a matter of renaming /store to /shop on your server, and editing the two configure.php files to change the paths.

https://www.zen-cart.com/tutorials/index.php?article=122

6 Mar 2011, 4:12 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,748
Plugin Contributions:
56

Re: Move my ZC store to another directory

Depending on how well indexed the store is in Google, it might also be worth doing a 301 redirect.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.