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 where the Prestashop application is installed (manual installation on your end) 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, then you can change the address very easily.
- Intended for version 1.7 of Prestashop, this guide requires technical knowledge and any responsibility in case of an error on the site is disclaimed by Infomaniak.
Change the URL of an installed Prestashop
To do this:
- Put your Prestashop in maintenance (go to Store Settings then Maintenance).
- Go to Store Settings > Traffic and SEO.
- A little further down, modify the Store URL part:
- under Store 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 to your computer all the data Web + MySQL from your old Prestashop.
- Re-import the downloaded MySQL data to a new database.
- Update the
parameters.phpfile (located inapp/config/) by indicating the information of the new database on the following lines:database_hostdatabase_namedatabase_userdatabase_password
- Re-import the Web data to the directory of your new site (new URL).
- Remove all the content of the cache folder except the
index.phpfile. - Remove the site from maintenance and test the entire site (links, images, cart, etc.).
Also refer to this other guide.
Link to this FAQ: