Title: Feature request: Delete both
Last modified: March 12, 2017

---

# Feature request: Delete both

 *  [helou](https://wordpress.org/support/users/helou/)
 * (@helou)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/feature-request-delete-both/)
 * Is it possible to implement “delete both” if found duplicates? Ie. if there are
   2 posts that are duplicates can I delete them both (not leaving any posts)? Right
   now it can only be done manually one by one, which takes a lot of time.
 * Or maybe you could help me with MySQL deletion query modification so that I could
   edit this locally to suit my needs? Thank you

Viewing 1 replies (of 1 total)

 *  Thread Starter [helou](https://wordpress.org/support/users/helou/)
 * (@helou)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/feature-request-delete-both/#post-8904436)
 * I thought I’d clarify why there’s a need for such feature. The problem with deleting
   are URLs that are not sorted out, let’s say we have:
    Post name tomato [http://site.com/post-name-tomato](http://site.com/post-name-tomato)
   and then appears the duplicate Post name tomato [http://site.com/post-name-tomato-2](http://site.com/post-name-tomato-2)
 * If we delete the older file which in my case is always way to go we’re left with
   
   Post name tomato [http://site.com/post-name-tomato-2](http://site.com/post-name-tomato-2)
   The “-2” at the end of URL is not fixed/removed
 * So one idea to solve this would be to remove all the duplicates AND original 
   files at one click an then re-import the new ones. But if there was a feature“
   keep new file but fix it’s URL removing -2,-3,-4 etc.” that would be even cooler…

Viewing 1 replies (of 1 total)

The topic ‘Feature request: Delete both’ is closed to new replies.

 * ![](https://ps.w.org/fix-duplicates/assets/icon-256x256.png?rev=1687644)
 * [Fix Duplicates](https://wordpress.org/plugins/fix-duplicates/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fix-duplicates/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fix-duplicates/)
 * [Active Topics](https://wordpress.org/support/plugin/fix-duplicates/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fix-duplicates/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fix-duplicates/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [helou](https://wordpress.org/support/users/helou/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/feature-request-delete-both/#post-8904436)
 * Status: not resolved