Posted On: Feb 22, 2018
In order to configure osCommerce to work properly with another domain, you should modify both
configure.php files located in the installation directory of your website, under
includes/
and
admin/includes/
folders. These files can be modified using cPanel’s File Manager, or via FTP.
1. The settings that should be changed in
includes/configure.php
are:
HTTP_SERVER – you should change this to your new domain name, e.g. http://newdomain.com:
define(‘HTTP_SERVER’, ‘http://newdomain.com’);
HTTP_COOKIE_DOMAIN – again, this should be changed to reflect your new domain name:
define(‘HTTP_COOKIE_DOMAIN’, ‘newdomain.com’);
If you are using SSL you should also modify:
HTTPS_SERVER – for example:
define(‘HTTPS_SERVER’, ‘https://newdomain.com’);
HTTPS_COOKIE_DOMAIN – set this to:
define(‘HTTPS_COOKIE_DOMAIN’, ‘newdomain.com’);
2. In the second file
admin/includes/configure.php
you should modify:
HTTP_SERVER – you should change this to your new domain name, e.g. http://newdomain.com:
define(‘HTTP_SERVER’, ‘http://newdomain.com’);
HTTP_CATALOG_SERVER – again, this should be changed to your new domain name:
define(‘HTTP_CATALOG_SERVER’, ‘http://newdomain.com’);
If you are using SSL, you should also change
HTTPS_CATALOG_SERVER to:
define(‘HTTPS_CATALOG_SERVER’, ‘https://newdomain.com’);
Never Miss an Articles from us.
Oscommerce (Open source Commerce) is an e-commerce and online store-management software program. It is available as fre..
You can change the Store name of Oscommerce by login to administration panel.Below are steps to change store name in Os..
By default saves images in catalog/images directory..