CODE CODIFY.CLUB

Move PrestaShop to new domain

1. Login to your PrestaShop admin panel on domain you are moving from (olddomain.com)

2. Navigate to Preferences -> Maintenance and put your shop in maintenance mode to avoid loosing new customers or orders while moving the data.

3. Navigate to Preferences -> SEO & URLs and scroll down to Set shop URL section.
There please change Shop domain and SSL domain to your new domain (newdomain.com).
Update Base URI if it is different on your new domain.

4. Download all PrestaShop files and folders to your computer.

5. Login to your phpMyAdmin and create a backup/dump of the database you are using for your PrestaShop.

6. Create database on your new domain (newdomain.com) and import database backup/dump from your (olddomain.com)

7. Edit /config/settings.inc.php file which you have downloaded to your computer.
There you should update the settings for the new database server (with your own settings instead of the examples here):


NOTE : For PS 1.7 : GOTO FOLLOWING LOCATION
/public_html/PS_SETUP/app/config/parameters.php

Change in mysql table “ps_shop_url”

Delete all cache from following locations PS 1.7+
/public_html/PS_SETUP/var/cache/dev/
/public_html/PS_SETUP/var/cache/prod/

8. Upload all the PrestaShop files and folders to your new domain (newdomain.com) via FTP.

9. Remove all the files except index.php in /cache/smarty/compile and /cache/smarty/cache folders on your new domain (newdomain.com)

10. Login to your PrestaShop admin panel on new domain (newdomain.com) and check if it is working properly.

11. In your PrestaShop admin panel navigate to Preferences -> Maintenance and put your site online.

12. Check that all the links are functioning, that 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 as expected.

Enable error reporting in PrestaShop 1.6

Once in the PrestaShop root folder, double click the folder named config and then open the file named defines.inc.php for editing. 
  1. Find the line of code below:
    /* Debug only */ define(‘_PS_MODE_DEV_’, false);
  2. Change the ‘false‘ to ‘true‘ and then click the Save Changes button to save and activate the change. The changed line should read as follows:
    /* Debug only */ define(‘_PS_MODE_DEV_’, true);

V!ral

Developer, Technology aficionado, Beer Lover and founder of codify.club Network. Who shares a keen interest about website development, health issues, cancer awareness and other fun stuff.

Add comment

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.

Most popular

Most discussed