Support » Fixing WordPress » How to append unique numbers to new duplicated post titles/urls?

  • Here’s the best way to explain what I want to do…

    As of now if you create two (2) posts with the same title you get the following:

    http://www.domain.com/test/
    http://www.domain.com/test-2/

    If you create a third post, you then get another url like:

    http://www.domain.com/test-3/

    I am working on a directory, so the odds of someone having the same name is pretty good; therefore I want to append a custom url string to the end of the duplicated name – not just a 1 digit number.

    Is there a way for me to add a custom 4-5 digit string at the end of a duplicate post/page/listing? So that it reads:

    http://www.domain.com/test/
    http://www.domain.com/test-#####/ < the random string

    thanks!

    [Moderator note: Oops, you accidentally removed yourself from the ‘No Replies’ list by replying to yourself. We look at that list. We may prioritize threads that haven’t been answered as opposed to threads that have. Your reply has been removed]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to append unique numbers to new duplicated post titles/urls?’ is closed to new replies.