Title: Bulk delete posts by slug
Last modified: August 22, 2016

---

# Bulk delete posts by slug

 *  [Mads Phikamphon](https://wordpress.org/support/users/madsphi/)
 * (@madsphi)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/bulk-delete-posts-by-slug/)
 * Hi,
 * We imported 1200+ posts into our WP site, but something went wrong with some 
   of the posts (think duplicate posts).
 * So now we have ~600 posts that we would like to delete again.
 * Is that somehow possible without deleting them one at the time or similar.
 * We have the slugs of all the posts we want to delete, so does anyone know of 
   some SQL we can use?
 * Thanks,
    Mads

Viewing 1 replies (of 1 total)

 *  [Cindy Cullen](https://wordpress.org/support/users/cgcullen/)
 * (@cgcullen)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/bulk-delete-posts-by-slug/#post-5208660)
 * Where are the slugs? Do you have them in a file? What format?

Viewing 1 replies (of 1 total)

The topic ‘Bulk delete posts by slug’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Cindy Cullen](https://wordpress.org/support/users/cgcullen/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/bulk-delete-posts-by-slug/#post-5208660)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
