Zen Cart Logo
Forums / General Questions / How to launch store installed on a subdirectory like it was in the root?

How to launch store installed on a subdirectory like it was in the root?

Views: 758

Results 1 to 3 of 3
3 Sep 2014, 11:14 PM
#1
darnaez avatar

darnaez

Zen Follower

Join Date:
Jun 2009
Location:
Miami, Fl
Posts:
138
Plugin Contributions:
0

How to launch store installed on a subdirectory like it was in the root?

Hi guys,

In one of my stores I have Zencart installed in a subdirectory. What can I do to make it run like it was in the root? I don't care if it show in the address bar the "/store/" THanks!

3 Sep 2014, 11:56 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: How to launch store installed on a subdirectory like it was in the root?

DArnaez:

Hi guys,

In one of my stores I have Zencart installed in a subdirectory. What can I do to make it run like it was in the root? I don't care if it show in the address bar the "/store/" THanks!

Domain needs to point to the subdirectory, configure.php files identify subdirectory as / only rather than /sub/, file paths/constants with FS in the constant definition point all the way to the sub folder.

I'm trying to remember the construct of the constants with WS in them, I can't remember if these point to the underlying directory structure or the path off of the URI.

Will also need to evaluate what is necessary regarding the database internal location pointer depending on your version of ZC.

4 Sep 2014, 12:55 PM
#3
lat9 avatar

lat9

Administrator

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

Re: How to launch store installed on a subdirectory like it was in the root?

DArnaez:

Hi guys,

In one of my stores I have Zencart installed in a subdirectory. What can I do to make it run like it was in the root? I don't care if it show in the address bar the "/store/" THanks!
If, by the highlighted question, you mean that while the Zen Cart is installed in a subdirectory you'd like it to be accessed as https://www.mysite.com, you use your hosting company's cPanel to point your site to that directory.