Hi all,
I installed ZenCart via GoDaddy to a sub-folder (vinyl-stickers), and now that it is ready, want to move it to the root folder.
I've Googled around and already read and followed this guide.
I've copied the cart to root, but the links from the main page point to the old sub-folder. Removing the sub-folder from the server results in broken links. If I remove the sub-folder from the URL, the page is there, but all the links still point to the sub-folder.
I've removed vinyl-stickers from the Session Directory in the admin panel. I've removed 'vinyl-stickers/' from the following lines n 'includes/configure.php':
DIR_WS_CATALOG
DIR_WS_HTTPS_CATALOG
DIR_FS_CATALOG
DIR_FS_SQL_CACHE
In admin/includes/configure.php' however, I was unable to change the lines, because I don't know what to do to them:
PHP Code:
define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');
define('DIR_FS_ADMIN', realpath(dirname(__FILE__) . '/../') . '/');
I did, however change the following lines to remove 'vinyl-stickers'
PHP Code:
define('DIR_FS_SQL_CACHE', '/home/content/80/5493880/html/vinyl-stickers/cache');
define('DIR_FS_CATALOG', '/home/content/80/5493880/html/vinyl-stickers/');
define('DIR_WS_HTTPS_CATALOG', '/vinyl-stickers/');
it now looks like this:
PHP Code:
define('DIR_FS_SQL_CACHE', '/home/content/80/5493880/html/cache');
define('DIR_FS_CATALOG', '/home/content/80/5493880/html/');
define('DIR_WS_HTTPS_CATALOG', '/');
The website is http://www.anysigns.ca if you want to take a look for yourself.
Thanks in advance,
Alex
Bookmarks