Zen Cart Logo
Forums / Installing on a Linux/Unix Server / how do I make homepage url without /zencart?

how do I make homepage url without /zencart?

Locked

Views: 1,956

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
25 Nov 2009, 7:38 PM
#1
daphne avatar

daphne

New Zenner

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

how do I make homepage url without /zencart?

How do I make it so that when I try and go to my site by typing in the url that I can just type in mysite.com instead of mysite.com/zencart?

25 Nov 2009, 9:04 PM
#3
daphne avatar

daphne

New Zenner

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

Re: how do I make homepage url without /zencart?

What exactly are you changing when you change the session directory?

Like if it's

/home/photothrows/public_html/zencart/cache

am I changing just a certain part, the whole thing, or what?

I had thought that it would be changing the /zencart/cache to /newfoldername but that didn't seem right.

25 Nov 2009, 11:36 PM
#4
stevesh avatar

stevesh

Black Belt

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

Re: how do I make homepage url without /zencart?

Don't worry about the sessions stuff now - do the edits in the two configure.php files and see if it works.

26 Nov 2009, 12:42 AM
#5
daphne avatar

daphne

New Zenner

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

Re: how do I make homepage url without /zencart?

What am I changing it to?

define('DIR_WS_CATALOG', '/zencart/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');

26 Nov 2009, 5:03 AM
#6
crunch avatar

crunch

Zen Follower

Join Date:
Mar 2009
Posts:
227
Plugin Contributions:
0

Re: how do I make homepage url without /zencart?

daphne:

What am I changing it to?

define('DIR_WS_CATALOG', '/zencart/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');

You use a / when moving files to your root folder, as follows:

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');