While, you are moving to new domain you may need to change database setting. In this tutorial, I will guide you to change database setting in PrestaShop 1.7.

Follow the below steps to:

  • Connect to FTP server or file manager and open the file: /app/config/parameters.php
  • Find the parameters with database_host, database_name, database_user and database_password.
  • Replace existing values of that params with the new ones.
  • Save the file to apply changes.
  • Now, Remove all the files inside the folders cache/smarty/compile/ and cache/smarty/cache/, except the index.php files.
  • Log into your PrestaShop back-office on new domain and verify if everything is working properly

Hopefully, this tutorial will help you.