=== Delete Posts By URL === Contributors: betterranking Tags: posts, delete, bulk, url, custom post types Requires at least: 5.0 Tested up to: 6.8 Stable tag: 2.2 Requires PHP: 7.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Bulk deletion of WordPress posts by pasting multiple URLs. Now with custom post type support and enhanced feedback. == 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 'Bulk Delete by URLs' menu item to access the deletion interface == Frequently Asked Questions == = 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 == Screenshots == 1. The bulk deletion interface with post type selection 2. Results showing successful and failed deletions == Changelog == = 2.2 = * Simplified user interface for better usability * Removed post type selection for streamlined workflow * Improved layout and spacing * Enhanced focus on core URL deletion functionality = 2.1 = * Enhanced user interface with modern WordPress styling * Added Better Ranking branding and logo * Improved progress bar animation and feedback * Added auto-scroll to results * Enhanced mobile responsiveness * Added total processed count in results = 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 == Upgrade Notice == = 2.0 = Major update with support for custom post types, trash option, and improved feedback. The interface has been completely redesigned for a better user experience. For more info, see [WordPress.org](https://wordpress.org) Or read about [Markdown syntax](https://daringfireball.net/projects/markdown/syntax). > Example blockquote with *italics* or **bold** text. ``