Support » Fixing WordPress » Removing number to permalink for duplicate post titles..

  • Hi,

    I found this plugin that perfectly describes what I want to do, but it hasn’t been updated in almost 10 years and I am wondering if there is an updated solution someone could direct me to.

    https://wordpress.org/plugins/singular/

    Basically, I have done a little custom tweak that inserts my “event date” to the end of my permalink. So, it looks like this mydomain.com/events/event-title/10-31-2014 .

    Sometimes I duplicate the event post and would like the event-title not to add the “1,2,3 etc.” as the date will always be different.

    Anybody have any suggestions in how best to handle this?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi WPWanderer,

    Being a software tester as opposed to being a programmer who might be able to fully help you here, my first thoughts were about using Custom Permalinks.

    Such as going to Settings > Permalinks > Custom Structure, and adding /%year%/%monthnum%/%day%/%postname%/ to its field. This isn’t exactly what you asked for BUT it just might do the trick! 🙂

    Randy

    Thread Starter WPWanderer

    (@wpwanderer)

    Thanks Randy. The date is actually data from a custom field (not publishing date), thus why I had to do a custom insert into the permalink.

    What I actually ended up doing is going into that plugin I mentioned and made a conditional tweak so that it allowed duplicates for my custom post type of “events.” This way it doesn’t mess things up for my normal posts.

    Anyways, posted what I did just in case someone else runs into this issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing number to permalink for duplicate post titles..’ is closed to new replies.