BlogProgramming

Prestashop 1.7.x Migration to another domain – The Easy Way

This was my first attempt to migrate Prestashop to another domain, and was easier than expected (and I was very afraid, I confess). This is the list of what I’ve done:

  1. First thing. Disabled the store, putting it in “Maintenance Mode”
  2. Next, I’ve made a full backup of all files and the database, and downloaded them to my local computer.
  3. At my new domain account I’ve created the new database, a new user and password for it (keep for later use) and dumped all tables from my backup to it.
  4. At the new database, you have to search in this tables, the URLs of the olddomain.com and change to newdomain.com:
    1. ps_configuration
    2. ps_shop_url
  5. With this done, you can now upload all the files from your backup to your new domain account (probably in the folder “public_html/” or similar)
  6. When all files files uploaded, you will have to change two more files, from your public root folder:
    1. edit /app/config/parameters.php – here you have to add the information of your new database, user and password
    2. at the root folder, edit your .htaccess and change all olddomain.com to newdomain.com
  7. And that’s it.

It was almost perfect for me. At the Modules menu I was having some errors that I was unable to figure out, but, my version was 1.7.7.0, and I’ve done the 1-Click Upgrade to 1.7.7.4 and those problems got away.

Artigos Relacionados

Deixe um comentário

O seu endereço de email não será publicado. Campos obrigatórios marcados com *

Este site utiliza o Akismet para reduzir spam. Fica a saber como são processados os dados dos comentários.

Botão Voltar ao Topo
João Clérigo - Photography
Fechar

AdBlocker Detetado
AdBlocker Detected

Por favor ajude este website permitindo a visualização de alguns anúncios. Obrigado. Please help this website allowing the view of some advertising. Thank you!