9

Click here to load reader

PrestaShop backup & change domain or hosting folder

Embed Size (px)

DESCRIPTION

Tutorial - How to change folder / domain and database in PrestaShop

Citation preview

Page 1: PrestaShop backup & change domain or hosting folder

PrestaShop backup - change

domain

Changing PrestaShop installation for backup or maintaining

Page 2: PrestaShop backup & change domain or hosting folder

Before starting

Similar than Wordpress we have to manage with 3

aspects:

The files

The Database

The configuration parameters

Page 3: PrestaShop backup & change domain or hosting folder

1st Backup Database

We have to make a backup using DB Backup tool

inside Advanced Parameters of PrestaShop menu

and save / download the file

Page 4: PrestaShop backup & change domain or hosting folder

2nd Move the files

We can move the files to another folder (or move

them to other hosting domain) using file manager

tool from hosting provider or FTP tools like FileZilla

Midnight Commander can also be used inside linux

hosting

Page 5: PrestaShop backup & change domain or hosting folder

3rd Configuration (A – new database)

If we create a new DataBase we have to import our

backup file from an SQL tool like PhpMyadmin

Click SQL icon, import file and click GO

Page 6: PrestaShop backup & change domain or hosting folder

3rd Configuration (A – new database)

Then we have edit connection parameters to the

new database created in /config/settings.inc.php file

inside PrestaShop new hosting / folder

Page 7: PrestaShop backup & change domain or hosting folder

3rd Configuration (B – new domain)

As we have changed to a new domain / subdomain

folder we have to connect to the DataBase and find

shop_url table to change domain and domain_ssl

parameters

Page 8: PrestaShop backup & change domain or hosting folder

3rd Configuration (B – new domain)

If we have PrestaShop inside a subfolder of our

domain but we don’t want this to be showed in URL

navigation bar we can write this argument inside

.htaccess file

RewriteCond %{HTTP_HOST} ^xxx.newdomain.xxx$

Page 9: PrestaShop backup & change domain or hosting folder

Credits

PrestaShop backup - change domain

by @FranServera

Under Creative Commons licence

Attribution-ShareAlike 3.0 Unported

Based on www.audit2me.com work