Title: Bulk Trash by URL
Author: ivantrendafilov
Published: <strong>24.10.2025</strong>
Last modified: 31.8.2026

---

Hae lisäosia

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

# Bulk Trash by URL

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

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

 * [Tiedot](https://fi.wordpress.org/plugins/bulk-trash-by-url/#description)
 * [Arvostelut](https://fi.wordpress.org/plugins/bulk-trash-by-url/#reviews)
 *  [Asennus](https://fi.wordpress.org/plugins/bulk-trash-by-url/#installation)
 * [Kehitys](https://fi.wordpress.org/plugins/bulk-trash-by-url/#developers)

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

## Kuvaus

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.

## Asennus

 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.

## UKK

### 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.

## Arvostelut

There are no reviews for this plugin.

## Avustajat & Kehittäjät

“Bulk Trash by URL” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat osallistuneet
tämän lisäosan kehittämiseen.

Avustajat

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

[Käännä “Bulk Trash by URL” omalle kielellesi.](https://translate.wordpress.org/projects/wp-plugins/bulk-trash-by-url)

### Oletko kiinnostunut kehitystyöstä?

[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).

## Muutosloki

#### 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.

## Metatiedot

 *  Version **1.1**
 *  Last updated **1 kuukausi sitten**
 *  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://fi.wordpress.org/plugins/tags/bulk-delete/)[pages](https://fi.wordpress.org/plugins/tags/pages/)
   [posts](https://fi.wordpress.org/plugins/tags/posts/)[trash](https://fi.wordpress.org/plugins/tags/trash/)
   [urls](https://fi.wordpress.org/plugins/tags/urls/)
 *  [Edistynyt näkymä](https://fi.wordpress.org/plugins/bulk-trash-by-url/advanced/)

## Arvosanat

No reviews have been submitted yet.

[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/)

## Avustajat

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

## Tuki

Onko sinulla jotain sanottavaa? Tarvitsetko apua?

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