How to do set post permalinks using 6 digit random unique function?

I need the following: e.g.

www.eg.com/hello-world

to

www.eg.com/9xY52a

of course function check 9xY52a inside the databese posts.

Read more here: How to do set post permalinks using 6 digit random unique function?

Leave a Reply

Your email address will not be published. Required fields are marked *