For those who are awake!
Discount -15%
We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

2.13.8.6. Change site url in PrestaShop

The article describes how to change the site address only within PrestaShop itself. To rename a hosting site (virtual host in the section "My sites»And the site directory on FTP), use instruction.

To change the site url using database queries:
  1. In the site config file take a look the name of the database to which it is connected.
  2. Discover database in phpMyAdmin.
  3. Execute the following SQL query, substituting your data into it:
    UPDATE ps_configuration SET VALUE = REPLACE(VALUE, 'old-address.com', 'new-address.com') WHERE name = 'PS_SHOP_DOMAIN' OR name = 'PS_SHOP_DOMAIN_SSL';

    If the names of the tables in the database do not start with the standard ps_, and with a different prefix, make the appropriate change to the SQL query.

  4. Check the work of the site at the new address.
To change the site url through the PrestaShop admin panel:
  1. Discover Admin panel PrestaShop.
  2. Go to the section "Store parameters → Traffic and SEO».
  3. In the block "Settings URL store"Enter a new address in the fields"Store domain"And"SSL Domain».
  4. Click "Save».
  5. Check the work of the site at the new address.