Delete Posts By URL

Description

This plugin allows administrators to bulk delete WordPress posts by pasting their URLs. Simply paste one URL per line, and the plugin will find and delete the corresponding posts.

Features:

  • Delete multiple posts at once using their URLs
  • Support for all public post types (posts, pages, custom post types)
  • Option to move posts to trash instead of permanent deletion
  • Detailed feedback on successful and failed deletions
  • Works with various URL formats (including permalinks)
  • Simple and intuitive interface
  • Secure deletion with proper permissions checking
  • AJAX-based processing with progress feedback

Installation

  1. Upload the plugin files to the /wp-content/plugins/delete-posts-by-url directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the ‘Delete Posts By URL’ menu item to access the deletion interface

FAQ

What types of URLs are supported?

The plugin supports various URL formats including:
* Standard WordPress permalinks
* URLs with post IDs (?p=123)
* URLs with date-based archives
* URLs with custom post type permalinks

Can I recover deleted posts?

Yes, if you enable the “Move to trash” option. Posts will be moved to the trash instead of being permanently deleted, allowing you to restore them if needed.

What post types can I delete?

You can delete any public post type, including:
* Posts
* Pages
* Custom post types
* Any other public post type registered by themes or plugins

How do I know if a post was successfully deleted?

The plugin provides detailed feedback after processing the URLs, showing:
* Successfully deleted posts
* Failed deletions with reasons
* URLs that couldn’t be matched to posts

Reviews

June 5, 2025
This is best plugin for me to save lots of time to delete bulk wp post one by one. Amazing plugin to delete posts, pages and media in bulk simply copy and past URL and and proceed to delete Thanks
Read all 1 review

Contributors & Developers

“Delete Posts By URL” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Delete Posts By URL” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.0

  • Added support for all public post types
  • Added option to move posts to trash instead of permanent deletion
  • Improved URL parsing for better post matching
  • Added detailed feedback for successful and failed deletions
  • Implemented AJAX-based processing with progress feedback
  • Enhanced security with better permission checks
  • Added proper error handling and user feedback
  • Improved UI with modern WordPress styling

1.0

  • Initial release