Jump to content

Friendly URL's name problem


essential

Recommended Posts

Hi

 

I have problem with friendly url's at prestashop 1.4.4.1

 

All my products from one category havefriendly URL from first product

 

(it's polish language but u will see what i mean)

http://shop.400ml.pl/5-montana-black

 

all 'colours' has friendly url like

 

.../XX-blk1010-easter-yellow.html

 

where XX is a product id. How can i change it ? I wish all products have friendly url name like the product name is.

Link to comment
Share on other sites

IF anyone else has similar problem i changed in SQL

 

UPDATE ps_product_lang as t SET t.link_rewrite = ( SELECT replace( lcase( (
SELECT p.`name`
FROM (
SELECT *
FROM `ps_product_lang`
) AS p
WHERE p.`id_product` =t.id_product
AND p.`id_lang` =6 ) ) , ' ', '-' )
)
WHERE t.id_lang =6

 

where id_lang=6 is my language (polish) in prestashop.

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...