Title: Bulk Trash by URL
Author: ivantrendafilov
Published: <strong>October 24, 2025</strong>
Last modified: August 31, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/bulk-trash-by-url.svg)

# Bulk Trash by URL

 By [ivantrendafilov](https://profiles.wordpress.org/ivantrendafilov/)

[Download](https://downloads.wordpress.org/plugin/bulk-trash-by-url.1.1.zip)

 * [Details](https://en-au.wordpress.org/plugins/bulk-trash-by-url/#description)
 * [Reviews](https://en-au.wordpress.org/plugins/bulk-trash-by-url/#reviews)
 *  [Installation](https://en-au.wordpress.org/plugins/bulk-trash-by-url/#installation)
 * [Development](https://en-au.wordpress.org/plugins/bulk-trash-by-url/#developers)

 [Support](https://wordpress.org/support/plugin/bulk-trash-by-url/)

## Description

Bulk Trash by URL helps editors and SEOs quickly clean up content by trashing items
based on a list of URLs. Paste your URLs, let the plugin map each URL to a post 
ID (handles common variations like trailing slashes and marketing query params),
select what you want to remove, and process in efficient batches with progress feedback.

Key features:

 * Paste URLs to find matching posts, pages, and custom post types.
 * Fast URL-to-post mapping in AJAX batches with progress bar.
 * Select exactly which items to trash before running.
 * Batched trashing with live progress, pause/resume controls.
 * Optional completion summary with counts and lists (trashed, failed, no permission,
   invalid).
 * Settings to tune performance and limits:
    - Max Page Size (mapping batch size)
    - Max URLs per run
    - Toggle completion summary
    - Optional mode to set matched items to Private instead of Trash

Built for large lists and long-running jobs. Everything goes to the WordPress Trash,
so you can restore or permanently delete as you normally would.

Capabilities & security:

 * Restricted to users who can `manage_options`.
 * Nonce-protected AJAX endpoints.
 * Conservative sanitization and server-side validation.

Compatibility notes:

 * Works with sites using pretty permalinks. Mapping relies on WordPress `url_to_postid()`
   and common URL variants.
 * Custom post types are supported if they use public, front-end URLs.

## Installation

 1. Upload the plugin files to `/wp-content/plugins/bulk-trash-by-url/`, or install
    from the Plugins screen.
 2. Activate the plugin through the “Plugins” screen in WordPress.
 3. Go to Tools  Bulk Trash by URL.
 4. Paste URLs (one per line), click “Find Items”, review the matched items, and start
    trashing.

## FAQ

### Will this permanently delete my posts?

No. Items are moved to the WordPress Trash. You can restore or permanently delete
them from there.

### Does it support custom post types?

Yes, provided the post type is public and has front-end URLs that `url_to_postid()`
can resolve.

### What happens if a URL doesn’t map to a post?

Unmatched URLs are listed after the mapping phase so you can review and resolve 
them.

### I get timeouts. What can I do?

Reduce “Max Page Size” in Settings to make each AJAX batch smaller. You can also
lower “Max URLs per run”.

### Who can use the tool?

Only administrators (users with `manage_options`) can access it.

## Reviews

![](https://secure.gravatar.com/avatar/85292269ebd07e810eab3aac898badcaf87eb08069828b176bf678b64355ed2b?
s=60&d=retro&r=g)

### 󠀁[Run through over 300 posts deletion by Url](https://wordpress.org/support/topic/run-through-over-300-posts-deletion-by-url/)󠁿

 [hsherazch](https://profiles.wordpress.org/hsherazch/) October 12, 2026

I must say found of the amzing plugin that saves your time when you don't wanna 
go through from db queries and only have worpdress access. great work.

 [ Read all 0 reviews ](https://wordpress.org/support/plugin/bulk-trash-by-url/reviews/)

## Contributors & Developers

“Bulk Trash by URL” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ ivantrendafilov ](https://profiles.wordpress.org/ivantrendafilov/)

[Translate “Bulk Trash by URL” into your language.](https://translate.wordpress.org/projects/wp-plugins/bulk-trash-by-url)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/bulk-trash-by-url/),
check out the [SVN repository](https://plugins.svn.wordpress.org/bulk-trash-by-url/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/bulk-trash-by-url/)
by [RSS](https://plugins.trac.wordpress.org/log/bulk-trash-by-url/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1

 * New option: set matched items to Private instead of moving them to the Trash (
   disabled by default).

#### 1.0

 * Initial release under the new name.
 * Two-step flow with URL mapping, selection, and batched trashing with pause/resume.
 * Summary screen with detailed results.
 * Settings tab for Mapping Batch Size, Max URLs per run, and summary toggle.
 * Performance improvements for large lists.

## Meta

 *  Version **1.1**
 *  Last updated **1 month ago**
 *  Active installations **90+**
 *  WordPress Version ** 5.8 or higher **
 *  Tested up to **7.1.3**
 *  PHP Version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/bulk-trash-by-url/)
 * Tags
 * [bulk delete](https://en-au.wordpress.org/plugins/tags/bulk-delete/)[pages](https://en-au.wordpress.org/plugins/tags/pages/)
   [posts](https://en-au.wordpress.org/plugins/tags/posts/)[trash](https://en-au.wordpress.org/plugins/tags/trash/)
   [urls](https://en-au.wordpress.org/plugins/tags/urls/)
 *  [Advanced View](https://en-au.wordpress.org/plugins/bulk-trash-by-url/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/bulk-trash-by-url/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/bulk-trash-by-url/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/bulk-trash-by-url/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/bulk-trash-by-url/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/bulk-trash-by-url/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/bulk-trash-by-url/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/bulk-trash-by-url/reviews/)

## Contributors

 *   [ ivantrendafilov ](https://profiles.wordpress.org/ivantrendafilov/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/bulk-trash-by-url/)