I am creating a QA forum like q2a. I will store the slug in the database. My website links are indexed in google . That's why need to title to slug and insert to database. I can copy slug from URL but it will take a lot of time. I will fetch all titles and convert them into slug then insert them by the loop in a database table. How can I convert slug-like q2a and store it in the slug column? Any SLUG function but should be produced slug same like q2a
If I use any other slug() function, it doesn't produce the same slug-like q2a because, in q2a slug, many words hide from a slug or other things you can understand the mechanism of slug function. I want that functionality.