Predicting slugs for collections turned into pages

I have a collection of 44thousand records. I want to be able to predict the slug name.

what algorithm is used to turn a text into a slug for a weweb page?

Hey, it’s this one replace(/[^a-z0-9\\_\-\\/]+/g, β€˜_’)

1 Like