Here’s how I moved my Zen Cart installation to a sub directory.
1.) Create a sub directory on your site via: FTP or however you know to.
2.) Move all files of your Zen-Cart installation into your sub directory.
3.) Edit 2 configuration files of your zen-cart.
In /includes/configure.php you want to edit:
In /admin/includes/configure.php you want to edit:
In both of these files you simply want to add your <subdirectory> followed by a forward slash /
NOTE: All directories should not have a leading slash / and SHOULD ALL have a trailing /
4.) Now you need to access your database via: phpMyAdmin or NaviCat
In your Zen Cart database you want to edit the configuration table in the following fields:
- Log Destination – STORE_PAGE_PARSE_TIME_LOG
- Session Directory – SESSION_WRITE_DIRECTORY
Use the following utility if you don’t know how to do step4:
This worked great for me.
Please comment here if you try this or have any questions.