Jump to content

re-generate SEO friendly url for multiple products


Recommended Posts

Hi,

I have about 30000 products in prestashop (v1.5.6.0) and noticed that some of them have NULL value in the SEO friendly url specified on the product level, it must be saved somewhere in database as I can get to the product edit page and generate the new one based on the product name.

I don't want to have urls like: http://shop.com/category/42-NULL.html  I have no idea how many product urls have "NULL" value but I want to replace them with normal generated urls. Is it possible to easily regenerate all of them ?

 

I guess if there was no value in this field then it would be generated on the fly. So if there is no way to regenerate them all, then maybe I could just remove all these values in database? 

Which table/field should I clean?

 

Thanks

Link to comment
Share on other sites

  • 3 weeks later...

I can see this as being an issue.

 

There do not appear to be any paid or free solutions to this.

 

I can see where it could be easily written by competent  ps hacker.

 

I suggest posting in the paid section, the module will basically read through the products and if no friendly url, generate one from product name, using prestashop function that cleans and inserts -'s.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...