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.  

Step 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).

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

PrestaShop Login Page

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

PrestaShop Shop Parameters Tab

Step 4. Click Traffic & SEO. 

PrestaShop Traffic & SEO Tab

Step 5Under 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

Edit Shop Domain in PrestaShop Admin Page

Step 6. Click the Save button to save the changes. 

Save New URL in PrestaShop

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. 

Step 1Log in to cPanel. 

Step 2. Click File Manager. 

Step 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.

Step 4. Right click on the file and select Edit. 

Step 5. Click the Edit button. 

Step 6. Take note of the values on lines and 6 for the website’s DB_NAME (database name) and DB_PREFIX (database table prefix). 

PrestaShop Settings File

Step 7. Go back to cPanel homepage by going back to the previous tab. 

Step 8. Scroll down to the icons under Databases and click phpMyAdmin. 

cPanel phpMyAdmin Button

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

PrestaShop Database in PhpMyAdmin

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

Shop URL Table in PhpMyAdmin

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

Enter New Domain in PhpMyAdmin for PrestaShop

Step 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. 

One Row Affected in PhpMyAdmin

Step 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/7Singapore or AustraliaSupport Team if you have further questions.  

(Visited 55 times, 1 visits today)