To bulk delete posts, pages or products with Excel using Content Importer for WordPress & WooCommerce with Excel, go to WPFactory > Content Excel Importer Pro > Delete Content, upload an .xlsx file listing titles or IDs in column A, optionally limit deletion to a term, and confirm. Terms are deleted from the Delete Categories tab.
Before you start #
- Back up your database. Permanent deletion cannot be undone.
- Download the SAMPLE EXCEL FILE on the Delete Content tab (headers POST TITLE and DELETE COMPLETELY).
Delete posts, pages or products #
- Go to WPFactory > Content Excel Importer Pro and open Delete Content.
- In column A, list each item by title, by post ID, or by slug (slugs work for standard posts).
- In column B, enter
yesto delete the item permanently; leave it empty or enternoto move it to the Trash. - Optionally fill Delete only if has term: the taxonomy (for example
category) and the term (for examplenews). Items without that term are skipped. - Choose the file, click Delete from Excel and confirm “Are you sure you want to delete the content in the file?”.
- Wait for JOB DONE!. Items that are not found show “doesnt exist, you need to import it first”.
Delete categories or other terms #
- Open Delete Categories and select the taxonomy.
- List the term names in column A (the import terms sample works as a template).
- Upload the file and confirm “Are you sure you want to delete the terms in the file?”.
Warning: deleting by title matches the first item with that title in any post type. Use post IDs in column A when titles are shared between posts, pages or products.
FAQ #
Can I restore deleted content? #
Items moved to the Trash (column B not yes) can be restored from the Trash screen. Items deleted with yes are gone.
Does deleting a product delete its images? #
No. Media Library attachments are not deleted.
Can I keep a record of what was deleted? #
Yes. Turn on Enable Log File in Settings, then use the Download Log File link that appears when the job finishes.
Ready to set this up? #
This is part of Content Importer, a paid WPFactory plugin: every screen described here is included with your license. Get Content Importer.
Need a hand? Our team answers every ticket on the Content Importer support forum.