How to move Prestashop 1.7 / 1.6 to another domain / subdomain?

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:

  1. Correct domain in the .htaccess file. Replace your old domain name to the new one.
  2. Correct domain in the ps_configuration table (change ps with your prefix if different) at keys PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL;
  3. Correct domain in the ps_shop_url table.

    In most cases id_shop = 1