Loading...

Knowledge Base

How To Change PrestaShop Website URL

Changing website link might be necessary if you change your business name or if you bought a new domain name. There are two ways on how to change the PrestaShop URL: 

 

Via PrestaShop Admin Page

This process is the easiest and most convenient as it doesn’t need your website hosting access. It only needs your PrestaShop administration logins. By default, the steps mentioned herein are applicable to PrestaShop SuperAdmin access only. However, the SEO & URLs permission is customisable in PrestaShop profile page.

  1. Access your PrestaShop admin page. Use the same admin URL set up during PrestaShop installation.
     

    TIP: Go to your PrestaShop website directory and look for the admin folder. This could have been renamed with another name during installation. If the folder has a name of admin123 for example, the admin URL of your website is http://yourdomain.com/admin123 (replace yourdomain.com with your website’s domain or subdomain).

  2. Log in to the PrestaShop admin page with its associated email address and password.

    Screenshot of VD PrestaShop Login Page

     
  3. Click the Shop Parameters tab on the menu bar at the left side of the page. This option is under CONFIGURE category.

    Screenshot of VD PrestaShop Shop Parameters Tab

     
  4. Click Traffic & SEO.

    Screenshot of VD PrestaShop Traffic & SEO Option

     
  5. Under SEO & URLs tab, scroll down to Set shop URL section and enter the new domain name in the boxes provided for Shop domain and SSL domain.

    Screenshot of VD PrestaShop Set Shop URL Page

     
  6. Click the Save button to save the changes.

    Screenshot of VD PrestaShop Save New Shop URL Page

     

Try accessing the website with the new link or URL. The changes should take effect right away.

 

Via PhpMyAdmin

This process is applicable if you have access to your cPanel. Follow the steps below on how to change the PrestaShop link or URL of your PrestaShop website.

  1. Log in to cPanel.
  2. Click File Manager.
  3. Go to your PrestaShop website files and locate the settings.inc.php file inside the config folder.
     

    NOTE: Database information for PrestaShop versions 1.7 and later are located in the directory /app/config/parameters.php.

  4. Right click on the file and select Edit.
  5. Click the Edit button.
  6. Take note of the values on lines and 6 for the website’s DB_NAME (database name) and DB_PREFIX (database table prefix).

    Screenshot of VD PrestaShop Database Settings File

     
  7. Go back to cPanel homepage by going back to the previous tab.
  8. Scroll down to the icons under Databases and click phpMyAdmin.

    Screenshot of VD PrestaShop cPanel phpmyadmin Button

     
  9. Click the database name that was obtained from Step 6.

    Screenshot of VD PrestaShop PHPMyAdmin Database

     
  10. Click the table that ends with _shop_url. A table in phpMyAdmin always starts with the prefix obtained from Step 6.

    Screenshot of VD PrestaShop URL Table

     
  11. Double-click the value under domain and enter the new website URL in the box.

    Screenshot of VD PrestaShop PHPMyAdmin Enter New Domain

     
  12. Click anywhere outside the box to save the changes. A pop-up message shown in the screenshot below will indicate that the update has been saved.

    Screenshot of VD PrestaShop One Row Affected Prompt

     
  13. Repeat steps 11 and 12 to change the value under domain_ssl column to the new website URL. Try accessing the website with the new link or URL. The changes should take effect right away.

 

Please don’t hesitate to contact our 24/7 Singapore or AustraliaSupport Team if you have further questions.

Loading...