WordPress Speed Up Service | WordPress Website Maintenance Packages Reply To: How to add random numbers at the end of slugs whenever I submit a post ?, by catacaustic You don’t need that. WordPress will automatically add numbers after the URL if it’s already in use. eg: /page-title/ /page-title-2/ Using your idea there’s still no guarantee that the random numbers chosen won’t be the same for the posts too. It’s an extremely remote possibility, but it’s happened many times before. Just let the internal WordPress systems do it for you. Reply To: How to add random numbers at the end of slugs whenever I submit a post ?