Zen Cart Logo
Forums / General Questions / Root Directory Of My Shop?????

Root Directory Of My Shop?????

Locked

Views: 4,385

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
22 Dec 2009, 9:41 PM
#1
mojavelampworkbeads avatar

mojavelampworkbeads

New Zenner

Join Date:
Nov 2009
Posts:
13
Plugin Contributions:
0

Root Directory Of My Shop?????

Where is the root directory located for my shop? Thanks :blush:

22 Dec 2009, 10:41 PM
#2
jacdesigner avatar

jacdesigner

Zen Follower

Join Date:
Jun 2005
Location:
Austin, Texas, US
Posts:
205
Plugin Contributions:
0

Re: Root Directory Of My Shop?????

Where did you install your Zencart files? If you installed them in a folder called /store then that folder is your root directory for the shop. If you installed them on your main hosting account root directory like maybe /htdocs then that is your shop root.

24 Dec 2009, 10:21 AM
#3
looks4u avatar

looks4u

New Zenner

Join Date:
Dec 2009
Posts:
25
Plugin Contributions:
0

Re: Root Directory Of My Shop?????

24 Dec 2009, 10:28 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Root Directory Of My Shop?????

Looks4U:

Usually in https://www.mydomain.com/
... only if that's where it was installed. jacdesigner's answer is correct.

24 Dec 2009, 10:30 AM
#5
looks4u avatar

looks4u

New Zenner

Join Date:
Dec 2009
Posts:
25
Plugin Contributions:
0

Re: Root Directory Of My Shop?????

Opps sorry!! SO can you install the Root Directory somewhere else???

Apologies im new to Zen Cart and still finding my feet!

24 Dec 2009, 10:34 AM
#6
stevesh avatar

stevesh

Black Belt

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

Re: Root Directory Of My Shop?????

Your answer was also correct - Zencart is usually installed to the site's root, and, in my opinion, should be. But you can also install it to a subdirectory like /shop if you want to.

24 Dec 2009, 10:40 AM
#7
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Root Directory Of My Shop?????

Here's a nicely constructed counter-example

http://www.plastiquemonkey.com

The Zen Cart is at http://www.plastiquemonkey.com/shop :wink:

It's also important to understand the distinction between a Zen Cart's web server root and its file system root. For example on client sites we may have the store launched directly from https://www.mydomain.com, but point that domain to a subdirectory e.g. htdocs/zc138 allowing us to manage live and test versions of a site, without the later ending up in a subdirectory of the main site. Launch of the upgraded site is also then easier as we need only repoint the domain to the new, already tested version, rather than moving a couple of thousand files around.

24 Dec 2009, 11:00 PM
#8
mojavelampworkbeads avatar

mojavelampworkbeads

New Zenner

Join Date:
Nov 2009
Posts:
13
Plugin Contributions:
0

Re: Root Directory Of My Shop?????

My desire is to upload a module called "SaveForLater" to my ZenCart. I've been instructed to upload the contents of the folder to the root directory of my shop but I'm completely confused.

My shop is in public_html https://www.mojavelampwork.net

I've followed your guidance about where the root directory is but the upload is not working. Am I missing something?