Create friendly URL based on product name in Prestashop using SQL query

Below you will find simple SQL queries which creates product friendly url from product’s name and saves them in the database SEO section.

You can run this i.e. in phpmyadmin or MySQL Workbench.

Example of action

From product name $ My super product 1 !!! it will create friendly url my-super-product-1

Queries

Continue reading Create friendly URL based on product name in Prestashop using SQL query

[PrestaShop][1.6] Add friendly URL to shop home page

When we turn on Friendly URL in PrestaShop, shop home page url looks like this:
http://example.com/en/
This entry shows trick how to change this url to:
http://example.com/en/shop Continue reading [PrestaShop][1.6] Add friendly URL to shop home page

Updating address bar with new URL without hash or reloading the page

Updating address bar with new URL without hash or reloading the page example:

 

You can then use window.onpopstate to detect the back/forward button navigation: