Click here to load reader
Upload
francisco-servera
View
365
Download
0
Embed Size (px)
DESCRIPTION
Tutorial - How to change folder / domain and database in PrestaShop
Citation preview
PrestaShop backup - change
domain
Changing PrestaShop installation for backup or maintaining
Before starting
Similar than Wordpress we have to manage with 3
aspects:
The files
The Database
The configuration parameters
1st Backup Database
We have to make a backup using DB Backup tool
inside Advanced Parameters of PrestaShop menu
and save / download the file
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
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
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
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
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$
Credits
PrestaShop backup - change domain
by @FranServera
Under Creative Commons licence
Attribution-ShareAlike 3.0 Unported
Based on www.audit2me.com work