Forums / Templates, Stylesheets, Page Layout / Move zencart to root directory

Move zencart to root directory

Locked

Views: 1,319

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
14 Feb 2007, 6:09 PM
#1
kingmullet avatar

kingmullet

New Zenner

Join Date:
Feb 2007
Posts:
5
Plugin Contributions:
0

Move zencart to root directory

Hi, what do I have to do to move the zencart to the root of my domain, I currently have it setup as a folder within the domain so it looks like this currently: http://mysite.com/zen-cart

I would like it so that when you go to http://mysite.com that will be my store? I am just not sure what I would have to change.

14 Feb 2007, 6:16 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Move zencart to root directory

If you look at the structure of your Zen Cart download, you will see what files and directories belong in the root ...

You need to move everything up 1 level from /zen-cart to /

Then, you need to edit the 2 configure.php files:
/includes/configure.php
/admin/includes/configure.php

Be sure to download them from the server to your computer as these are the current files ...

Then change anything that is:
/zen-cart/ to read /

Example:
define('DIR_WS_CATALOG', '/zen-cart/');

Would become:
define('DIR_WS_CATALOG', '/');

And something like:
define('DIR_WS_ADMIN', '/zen-cart/admin/');

Would become:
define('DIR_WS_ADMIN', '/admin/');

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Feb 2007, 6:24 PM
#3
kingmullet avatar

kingmullet

New Zenner

Join Date:
Feb 2007
Posts:
5
Plugin Contributions:
0

Re: Move zencart to root directory

Thanks So Much I will give it a whirl..