Hi ,
When you are moving a CS-Cart v4.x to a new location you need to do:
- config.local.php
// Host and directory where software is installed on no-secure server
$config['http_host'] = '[NEW_HTTP_HOST]';
$config['http_path'] = '[NEW_HTTP_PATH]';
// Host and directory where software is installed on secure server
$config['https_host'] = '[NEW_HTTPS_HOST]';
$config['https_path'] = '[NEW_HTTPS_HOST]';
- Update database table [color=#ff0000]cscart_companies[/color] (rows: storefront, secure_storefront)
- Clear cache (ex: www.example.com/admin.php?cc&ctpl)
I hope that helps,
—
Valentin
[color=#808080][size=2]part of hungryweb.net[/size][/color]
[quote name='Vali' timestamp='1412746343' post='193582']
Hi ,
When you are moving a CS-Cart v4.x to a new location you need to do:
- config.local.php
// Host and directory where software is installed on no-secure server
$config['http_host'] = '[NEW_HTTP_HOST]';
$config['http_path'] = '[NEW_HTTP_PATH]';
// Host and directory where software is installed on secure server
$config['https_host'] = '[NEW_HTTPS_HOST]';
$config['https_path'] = '[NEW_HTTPS_HOST]';
- Update database table [color=#ff0000]cscart_companies[/color] (rows: storefront, secure_storefront)
- Clear cache (ex: www.example.com/admin.php?cc&ctpl)
I hope that helps,
—
Valentin
[color=#808080][size=2]part of hungryweb.net[/size][/color]
[/quote]
Thanks, Vali. Please add a new point about the RewriteBase parameter in the .htaccess file.
[quote name=‘eComLabs’ timestamp=‘1412753825’ post=‘193594’]
Thanks, Vali. Please add a new point about the RewriteBase parameter in the .htaccess file.
[/quote]
RewriteBase /
<br />
- if you change this, for ex:<br />
```php
<br />
RewriteBase /dev/<br />
```<br />
you need to change back to```php
<br />
# RewriteBase /<br />
```or```php
<br />
RewriteBase /<br />
```<br />
<br />
PS: you need to edit .htaccess only if you edited before <img src="upload://ssa1U17ndImgNZSdwFNmOF2yUgM.png" class="bbc_emoticon" alt=";)"> and modify RewriteBase value<br />
<br />
Keep on smiling,<br />
<br />
---<br />
Valentin<br />
[color=#808080][size=2]part of hungryweb.net[/size][/color]