The easiest way to change the domain is:
Go to Preferences->SEO & URL and change the domain from there.
If any issue, here is what to check:
- Correct domain in the .htaccess file. Replace your old domain name to the new one.
- Correct domain in the ps_configuration table (change ps with your prefix if different) at keys PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL;
1update ps_configuration set value = 'new_domain' where name in ('PS_SHOP_DOMAIN', 'PS_SHOP_DOMAIN_SSL');
- Correct domain in the ps_shop_url table.
1update ps_shop_url set domain = 'new_domain', domain_ssl = 'new_domain' where id_shop = 1;
In most cases id_shop = 1