PrestaShop 1.7. How to transfer a website from one domain to another

  1. In your PrestaShop admin panel go to the Shop Parameters -> General section. Click on the Maintenance tab.  Set there your shop under maintenance mode not to lose new customers or orders while moving the data. 
  2. Go to the Shop Parameters -> Traffic and SEO section. Scroll down to Set shop URL section and change there Shop domain, SSL domain to your new domain. You may also update Base URI if it is different for your new domain. Save the changes.
  3. Now you need to download all PrestaShop folders and files from your old domain to your computer.
  4. Log into your phpMyAdmin
    Make a backup/dump of the database you are using for your PrestaShop on the old domain.
  5. Create a database for your new domain and import database backup/dump from your old domain.
  6. Find parameters.php file in your PrestaShop template that you have downloaded to your computer following app/config/parameters.php. Open it for editing. You need to update the settings for the new database server. 
  7. Upload all the PrestaShop folders and files from your computer to your new domain via FTP or cPanel.
  8. Remove all the folders and files except index.php file from the cache folder on your new domain.
  9. Log into your PrestaShop admin panel go to the Shop Parameters -> General section and disable maintenance mode.
  10. Check if all the links are functioning, all your products, images, modules and themes are still there, and try to create a new account and place an order to make sure your shop is working properly.

Hopefully, this tutorial was helpful for you.

Was this helpful?