{"id":5815494,"date":"2023-08-09T23:55:58","date_gmt":"2023-08-09T23:55:58","guid":{"rendered":"https:\/\/www.wpallimport.com\/?post_type=documentation&#038;p=5815494"},"modified":"2025-12-08T18:51:43","modified_gmt":"2025-12-08T18:51:43","slug":"how-to-delete-records","status":"publish","type":"documentation","link":"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/","title":{"rendered":"How to Delete Records"},"content":{"rendered":"\n<p>This documentation provides guidance on how to delete or remove items from your site using WP All Import. It also gives more details on the available options.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"delete-option\">Via Manage Imports<\/h2>\n\n\n\n<p>You can delete the records imported by an import via <strong>All Import \u203a Manage Imports \u203a Delete<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Products-Created-By-Import.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"772\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Products-Created-By-Import-1024x772.png\" alt=\"Delete Products Created By Import\" class=\"wp-image-5815745\" style=\"width:411px;height:310px\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Products-Created-By-Import-1024x772.png 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Products-Created-By-Import-300x226.png 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Products-Created-By-Import-768x579.png 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Products-Created-By-Import.png 1128w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>You can also select to delete the import process itself, along with images or attachments tied to the imported records. These are all optional.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"delete-using-import\">Delete Items Using an \"Existing Items\" Import<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Requirements<\/h3>\n\n\n\n<p>Your import file must only contain the posts that you want to delete from your site, and it must contain a value that you can use to find the existing posts using Manual Record Matching: <a href=\"http:\/\/www.wpallimport.com\/documentation\/recurring\/manual-record-matching\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.wpallimport.com\/documentation\/manual-record-matching\/<\/a>. For example, the post ID.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Steps<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Upload your file to a new import and select <strong>Existing Items<\/strong> in Step 1:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Existing-Items.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"631\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Existing-Items-1024x631.jpg\" alt=\"Delete Items Existing Items\" class=\"wp-image-5815747\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Existing-Items-1024x631.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Existing-Items-300x185.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Existing-Items-768x473.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Existing-Items-1536x946.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Existing-Items-2048x1261.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Existing-Items.jpg 2452w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In step 3, set the <strong>Post Status<\/strong> to <strong>trash<\/strong> inside the <strong>Other Post Options<\/strong> section:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Set-Type-as-Trash.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"232\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Set-Type-as-Trash-1024x232.jpg\" alt=\"Delete Items Set Type as Trash\" class=\"wp-image-5815748\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Set-Type-as-Trash-1024x232.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Set-Type-as-Trash-300x68.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Set-Type-as-Trash-768x174.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Set-Type-as-Trash-1536x348.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Set-Type-as-Trash-2048x464.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Set-Type-as-Trash.jpg 2190w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In step 4, choose to only update the post status:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Update-Post-Status.jpg\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"587\" height=\"1024\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Update-Post-Status-587x1024.jpg\" alt=\"Delete Items Update Post Status\" class=\"wp-image-5815749\" style=\"width:408px;height:712px\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Update-Post-Status-587x1024.jpg 587w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Update-Post-Status-172x300.jpg 172w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Update-Post-Status-768x1339.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Update-Post-Status-881x1536.jpg 881w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Items-Update-Post-Status.jpg 1054w\" sizes=\"(max-width: 587px) 100vw, 587px\" \/><\/a><\/figure>\n\n\n\n<p>Now, run the import, and it will put all of the matched posts into the trash bin.<\/p>\n\n\n\n<div class=\"docs-interstitial\">\n\n    <img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/plugins\/custom-acf-blocks\/blocks\/docs-interstitial\/img\/octopus-logo.svg\" class=\"docs-interstitial__logo\">    <h3>Import Any CSV, XML, or Excel to WordPress<\/h3>\n    <ul><li>Any theme or plugin<\/li><li>Images &amp; galleries<\/li><li>Custom fields<\/li><li>Categories &amp; tags<\/li><li>Woo, ACF, Meta Box, JetEngine<\/li><\/ul>\n    <div class=\"docs-interstitial__cta\">\n        <a class=\"docs-interstitial__btn\" href=\"#pricing\" target=\"_self\">View Pricing<\/a>\n                    <a class=\"docs-interstitial__text-link\" href=\"https:\/\/www.wpallimport.com\/import-wordpress-csv-xml-excel\/\" target=\"_self\">\n                Product Tour\n                <div class=\"docs-interstitial__text-link-arrow\">\n                    <svg width=\"13\" height=\"11\" viewBox=\"0 0 13 11\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M8 1.5L12 5.5L8 9.5\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\n                    <path d=\"M11.5 5.5H1\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"><\/path>\n                    <\/svg>\n                <\/div>\n            <\/a>\n            <\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"remove-data-missing-from-file\">Remove Data Missing From the Import File<\/h2>\n\n\n\n<p>You can use the <strong>Remove or modify WordPress posts that are not present in this import file<\/strong> option to delete records that were previously imported but are now missing from the import file.<\/p>\n\n\n\n<p>Or, you can delete all other records on the site except those found in your import file. This option allows for further granular control, letting you decide exactly which records are deleted and how. <\/p>\n\n\n\n<p>We explain more about this feature in-depth here: <a href=\"https:\/\/www.wpallimport.com\/documentation\/remove-data-missing-from-the-import-file\/\" target=\"_blank\" rel=\"noreferrer noopener\">Remove or Modify Data Missing From the Import File<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related Docs<\/h2>\n\n\n\n\n\n<p>Learn how to use the option to remove data missing from the import file.<\/p>\n\n\n\n\n\n<p>Shows you how to import any file into WordPress using WP All Import.<\/p>\n\n\n\n\n\n<p>Provides instructions on how to bulk edit WordPress data.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This documentation explains how to delete items that were imported with WP All Import or any of our add-ons.<\/p>\n","protected":false},"author":96198,"featured_media":0,"parent":5816321,"menu_order":0,"template":"","tags":[],"content_author":[213],"search_tags":[],"class_list":["post-5815494","documentation","type-documentation","status-publish","hentry","content_author-editorial-staff"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Delete Record with an Import - WP All Import<\/title>\n<meta name=\"description\" content=\"This documentation explains how to delete items that were imported with WP All Import or any of our add-ons.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Delete Record with an Import - WP All Import\" \/>\n<meta property=\"og:description\" content=\"This documentation explains how to delete items that were imported with WP All Import or any of our add-ons.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/\" \/>\n<meta property=\"og:site_name\" content=\"WP All Import\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/groups\/wpallimport\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-08T18:51:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Products-Created-By-Import.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1128\" \/>\n\t<meta property=\"og:image:height\" content=\"850\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data2\" content=\"Editorial Staff\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/\",\"url\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/\",\"name\":\"How to Delete Record with an Import - WP All Import\",\"isPartOf\":{\"@id\":\"https:\/\/www.wpallimport.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Products-Created-By-Import-1024x772.png\",\"datePublished\":\"2023-08-09T23:55:58+00:00\",\"dateModified\":\"2025-12-08T18:51:43+00:00\",\"description\":\"This documentation explains how to delete items that were imported with WP All Import or any of our add-ons.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/#primaryimage\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Products-Created-By-Import.png\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Products-Created-By-Import.png\",\"width\":1128,\"height\":850,\"caption\":\"Delete Products Created By Import\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wpallimport.com\/#website\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"name\":\"WP All Import\",\"description\":\"Import XML &amp; CSV to WordPress\",\"publisher\":{\"@id\":\"https:\/\/www.wpallimport.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wpallimport.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.wpallimport.com\/#organization\",\"name\":\"WP All Import\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"width\":199,\"height\":37,\"caption\":\"WP All Import\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Delete Record with an Import - WP All Import","description":"This documentation explains how to delete items that were imported with WP All Import or any of our add-ons.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/","og_locale":"en_US","og_type":"article","og_title":"How to Delete Record with an Import - WP All Import","og_description":"This documentation explains how to delete items that were imported with WP All Import or any of our add-ons.","og_url":"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/","og_site_name":"WP All Import","article_author":"https:\/\/www.facebook.com\/groups\/wpallimport","article_modified_time":"2025-12-08T18:51:43+00:00","og_image":[{"width":1128,"height":850,"url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Products-Created-By-Import.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes","Written by":"Editorial Staff"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/","url":"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/","name":"How to Delete Record with an Import - WP All Import","isPartOf":{"@id":"https:\/\/www.wpallimport.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/#primaryimage"},"image":{"@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Products-Created-By-Import-1024x772.png","datePublished":"2023-08-09T23:55:58+00:00","dateModified":"2025-12-08T18:51:43+00:00","description":"This documentation explains how to delete items that were imported with WP All Import or any of our add-ons.","breadcrumb":{"@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-delete-records\/#primaryimage","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Products-Created-By-Import.png","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Delete-Products-Created-By-Import.png","width":1128,"height":850,"caption":"Delete Products Created By Import"},{"@type":"WebSite","@id":"https:\/\/www.wpallimport.com\/#website","url":"https:\/\/www.wpallimport.com\/","name":"WP All Import","description":"Import XML &amp; CSV to WordPress","publisher":{"@id":"https:\/\/www.wpallimport.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpallimport.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.wpallimport.com\/#organization","name":"WP All Import","url":"https:\/\/www.wpallimport.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","width":199,"height":37,"caption":"WP All Import"},"image":{"@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/5815494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/users\/96198"}],"version-history":[{"count":0,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/5815494\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/5816321"}],"wp:attachment":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media?parent=5815494"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/tags?post=5815494"},{"taxonomy":"content_author","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/content_author?post=5815494"},{"taxonomy":"search_tags","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/search_tags?post=5815494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}