New Domain Name

Hello,

Here is my issue and i will be very thankful if anyone could help me

I was building my store in the domain example1.com and just right now i decided to change the domain name to example2.com. I assigned the new domain to the folder i has the site, when i go to the changed domain the store is opened but when i try opening other pages like admin.php or about us it shows me a 404 error, i have unassigned the frist domain, can anyone tell me why is this happening??

thanks in advance

Try to check the following parameters:

1. the domain is linked to the correct folder on your server

2. the correct domain is specified in the config.local.php file of your installation

3. the correct domain is specified in the settings of the store (can be checked in the Storefront filed of the cscart_companies table of your database)

Best regards,

2. the correct domain is specified in the config.local.php file of your installation

do you mean i have to add the new domain path in $config['http_path'] = '';???

// Host and directory where software is installed on no-secure server

$config['http_host'] = 'example1.com';
$config['http_path'] = '';

// Host and directory where software is installed on secure server
$config['https_host'] = 'example1.com';
$config['https_path'] = '';

2. the correct domain is specified in the config.local.php file of your installation

do you mean i have to add the new domain path in $config['http_path'] = '';???

// Host and directory where software is installed on no-secure server

$config['http_host'] = 'example1.com';
$config['http_path'] = '';

// Host and directory where software is installed on secure server
$config['https_host'] = 'example1.com';
$config['https_path'] = '';

yes that is what he meant : )

If the provided solution do not help, try to temporary disable the SEO module and check

If the provided solution do not help, try to temporary disable the SEO module and check

Since i can't access the admin page, it shows me a 404 error i can't disable the SEO module, is there any other way??

Try to check the following parameters:

1. the domain is linked to the correct folder on your server

2. the correct domain is specified in the config.local.php file of your installation

3. the correct domain is specified in the settings of the store (can be checked in the Storefront filed of the cscart_companies table of your database)

The following parameters are all replaced with the correct domain, but still when i try to open other pages i get an error because the old url with the old domain is opened. What can i do about this?

#3 won't matter for admin side. Be sure that the admin URL (yourdomain.com/your_admin_file.php) is correct.

Manually clear the cache by renaming var/cache to var/cache.old.

PM me temporary FTP access, we will check the issue