Delete all the product's alias and regenerate them

Started by m.davide82, May 12, 2017, 23:01:42 PM

Previous topic - Next topic

m.davide82

Hello,

is there any where to delete all the product's alias and regenerate them?


Thanks a lot,
Davide

Milbo

one by one, open, delete, store..

or delete all by sql,... and use a small php script,.. loading any product and store it, which generates the slugs automatically
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

m.davide82

The problem was this, I deleted them from mysql but the urls are not working any more.

It will be beautiful to have an option to re-generete them in bulk, necessary during the development.


Thanks a lot!

AH

just write some sql to generate them using "product name"

make sure you check for duplicates
Regards
A

Joomla 4.4.5
php 8.1