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

I need the following: e.g.

www.e.g.com/hello-world

to

www.e.g.com/9xY52a

of course function check 9xY52a inside the databese posts.

I was try this topic: Random permalink key in wordpress

this code get “Cannot redeclare wp_unique_post_slug()” error message.

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

Leave a Reply

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