Your configure.php can look one of two ways.
My reccomendation is to have your host create a 301 redirect pointing YOUR_DOMAIN to YOUR_DOMAIN/CART_FOLDER. That's the best practice and will match the SSL That way, you will NOT need to make any changes to your two configure.php files and folks won't see the name of your cart folder.
Right now, going to YOUR_DOMAIN/CART_FOLDER, the browser claims that the URL has just been registered and tells you that you need to go online to manage the site.
BUT, if I go to YOUR_DOMAIN, I get the shopping cart.
This is your chance to see if your host can do their stuff.
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Non-recommended Solution vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
If your host cannot create a 301 redirect for you, you can change your configure.php files to accomplish the redirect in the slowest manner possible
Code:
/**
* Enter the domain for your store
* If you have SSL, enter the correct https address in BOTH the HTTP_SERVER and HTTPS_SERVER settings, instead of just an http address.
*/define('HTTP_SERVER', 'https://YOUR_DOMAIN);define('HTTPS_SERVER', 'https://YOUR_DOMAIN);/**
* If you have https enabled on your website, set this to 'true'
*/define('ENABLE_SSL', 'true');/**
* These DIR_WS_xxxx values refer to the name of any subdirectory in which your store is located.
* These values get added to the HTTP_CATALOG_SERVER and HTTPS_CATALOG_SERVER values to form the complete URLs to your storefront.
* They should always start and end with a slash ... ie: '/' or '/foldername/'
*/define('DIR_WS_CATALOG', '/CART_FOLDER/');
define('DIR_WS_HTTPS_CATALOG', '/CART_FOLDER/');
Farther on in the config you would need to have:
Code:
/**
* This is the complete physical path to your store's files. eg: /var/www/vhost/accountname/public_html/store/
* Should have a closing / on it.
*/
define('DIR_FS_CATALOG', '/home/YOUR_USERNAME@HOST/public_html/CART_FOLDER/');
Bookmarks