Prevent Duplicate Posts instead of adding -2 suffix
I have a private site where I watch various RSS feeds. I realize there are RSS readers out there for this but I like using WordPress for this for person reasons.
Ever since my upgrade to WordPress 2.8.x the process I was using to kill duplicate posts has stopped working.
Now the way WordPress works is if I write a post and the Title already exists the SLUG will be modified by adding a -2 to the URL/Slug. And if I do it again it will goto -3 then -4 etc…
Does anyone have a process which will just DROP the post if it’s posted with a duplicate Title/Slug?
Previous to 2.8.x I put a Return 0 in the Post.php code but like I said, this stopped working….
- The topic ‘Prevent Duplicate Posts instead of adding -2 suffix’ is closed to new replies.