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?


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: