Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Change the domain name of a Prestashop site
This guide explains how to change the URL of a site on which the Prestashop application is installed (manual installation on your side) but more generally, it also allows you to import a Prestashop site to Infomaniak if it was previously registered elsewhere with a different URL.
Preamble
- If you are using Prestashop installed via the Infomaniak Manager Apps, you can change the address very easily.
- Intended for version 1.7 of Prestashop, this guide requires technical knowledge and Infomaniak declines any responsibility in case of errors on the site.
Change the URL of an installed Prestashop
To do this:
- Put your Prestashop into maintenance mode (go to Shop Settings then Maintenance).
- Go to Shop Parameters > Traffic and SEO.
- A little further down, modify the Shop URL section:
- under Shop Domain enter the new domain
- under SSL Domain enter the new domain
- the base path can be modified at your convenience but with caution
- Click on Save.
- Download the entire data Web + MySQL of your old Prestashop to your computer.
- Re-import the downloaded MySQL data into a new database.
- Update the
parameters.php
file (located inapp/config/
) by entering the information of the new database at the following lines:database_host
database_name
database_user
database_password
- Re-import the Web data into the directory of your new site (new URL).
- Remove all the content from the cache folder except for the
index.php
file. - Remove the site from maintenance and test the entire site (links, images, cart, etc.).
Also, refer to this other guide.
Link to this FAQ: