Edit the config.local.php file in the root directory of your CS-Cart installation:
Before: | $config['http_host'] = 'old_domain';
$config['http_path'] = '';
$config['https_host'] = 'old_domain';
$config['https_path'] = '';
|
---|---|
After: | $config['http_host'] = 'new_domain';
$config['http_path'] = '';
$config['https_host'] = 'new_domain';
$config['https_path'] = '';
|
Edit storefront URL in the admin panel:
Go to Administration → Stores (in CS-Cart) or Administration → Storefronts (in Multi-Vendor).
Click on the name of the storefront to open its settings.
Change the domain there and save your changes.
Delete or rename the /var/cache directory to clear the cache of your store.
Questions & Feedback
Have any questions that weren't answered here? Need help with solving a problem in your online store? Want to report a bug in our software? Find out how to contact us.