{"id":2991569,"date":"2019-11-14T00:00:00","date_gmt":"2019-11-14T00:00:00","guid":{"rendered":"http:\/\/www.wpallimport.com\/documentation\/import\/taxonomies\/nested\/"},"modified":"2025-12-08T18:31:51","modified_gmt":"2025-12-08T18:31:51","slug":"nested","status":"publish","type":"documentation","link":"https:\/\/www.wpallimport.com\/documentation\/nested\/","title":{"rendered":"Nested, Hierarchical Taxonomies"},"content":{"rendered":"\n<p>WP All Import provides two options to import hierarchical or nested taxonomies, also known as \u201cparent\u201d and \u201cchild\u201d taxonomies. You import these taxonomies using the option <strong>Posts have hierarchical (parent\/child) Categories (i.e., Sports &gt; Golf &gt; Clubs &gt; Putters)<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"example-a\"><strong>Example A<\/strong>: An element in my file contains the entire hierarchy<\/h2>\n\n\n\n<p>If you have a file where the taxonomy structure is specified in a single column or element, use <strong>An element in my file contains the entire hierarchy<\/strong>.<\/p>\n\n\n\n<p>For example, if you have a column in your file with the value \u201cSki Resorts &gt; Colorado &gt; Aspen &gt; Aspen Highlands\u201d, Ski Resorts is the parent, Colorado is a child of Ski Resorts, Aspen is a child of Colorado, and Aspen Highlands is a child of Aspen.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Import.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"647\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Import-1024x647.jpg\" alt=\"Nested Taxonomies Import\" class=\"wp-image-5815827\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Import-1024x647.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Import-300x190.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Import-768x485.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Import-1536x971.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Import.jpg 1744w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Click the <strong>Preview<\/strong> button to see what your taxonomy structure will look like after it is imported. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/preview-nested.png\" alt=\"Nested Preview\" class=\"wp-image-437\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"example-b\"><strong>Example&nbsp;B<\/strong>: Manually design the hierarchy with drag &amp; drop<\/h2>\n\n\n\n<p>If you have a file with many different columns or elements containing your taxonomies, choose the <strong>Manually design the hierarchy with drag &amp; drop<\/strong> option.<\/p>\n\n\n\n<p>Drag the four-pointed arrows to the left or right to make a category a parent&nbsp;or child, or drag them up and down to re-order.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Hierarchical-Drag-and-Drop.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"669\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Hierarchical-Drag-and-Drop-1024x669.jpg\" alt=\"Nested Taxonomies Hierarchical Drag and Drop\" class=\"wp-image-5815829\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Hierarchical-Drag-and-Drop-1024x669.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Hierarchical-Drag-and-Drop-300x196.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Hierarchical-Drag-and-Drop-768x502.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Hierarchical-Drag-and-Drop-1536x1003.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Hierarchical-Drag-and-Drop-2048x1338.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/08\/Nested-Taxonomies-Hierarchical-Drag-and-Drop.jpg 2180w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>That's it!<\/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>Hierarchical taxonomies<\/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=\"multiple-hierarchies\">Import Multiple Hierarchical Terms<\/h2>\n\n\n\n<p>If you have a taxonomy with several hierarchical terms, you can enable the <strong>Separate hierarchy groups via symbol<\/strong> option and input the separator for your multiple hierarchical categories. For example, if you have two hierarchy groups like this: Games &gt; Latest Additions | Sports &gt; Golf &gt; Clubs &gt; Putters<\/p>\n\n\n\n<p>You can import both groups by enabling the option as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/01\/Multiple-Nested-Taxonomy-Import-Example.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"754\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/01\/Multiple-Nested-Taxonomy-Import-Example-1024x754.jpg\" alt=\"Multiple Nested Taxonomy Import Example\" class=\"wp-image-5834517\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/01\/Multiple-Nested-Taxonomy-Import-Example-1024x754.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/01\/Multiple-Nested-Taxonomy-Import-Example-300x221.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/01\/Multiple-Nested-Taxonomy-Import-Example-768x565.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/01\/Multiple-Nested-Taxonomy-Import-Example-1536x1131.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/01\/Multiple-Nested-Taxonomy-Import-Example.jpg 1744w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mapping\">How to Apply Mapping to Your Categories<\/h2>\n\n\n\n<p>Learn more about the <strong>Enable Mapping for Categories<\/strong> option, which is available when you're importing your nested taxonomies, by visiting <a href=\"https:\/\/www.wpallimport.com\/documentation\/taxonomies-overview\/#enable-mapping\" target=\"_blank\" rel=\"noreferrer noopener\">Enable Mapping for Taxonomies<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related Docs<\/h2>\n\n\n\n\n\n<p>Learn how to import taxonomies directly.<\/p>\n\n\n\n\n\n<p>Provides instructions on how to import taxonomy meta and images.<\/p>\n\n\n\n\n\n<p>Shows you how to export WordPress taxonomies, such as categories or tags.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Easily import your nested parent-child hierarchical taxonomies using our easy drag-and-drop process. No custom code is needed!<\/p>\n","protected":false},"author":96198,"featured_media":2990199,"parent":2991567,"menu_order":2,"template":"","tags":[],"content_author":[213],"search_tags":[],"class_list":["post-2991569","documentation","type-documentation","status-publish","has-post-thumbnail","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>Importing Nested Hierarchical Taxonomies - WP All Import<\/title>\n<meta name=\"description\" content=\"Easily import your nested parent-child hierarchical taxonomies using our easy drag-and-drop process. No custom code is needed!\" \/>\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\/nested\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Importing Nested Hierarchical Taxonomies - WP All Import\" \/>\n<meta property=\"og:description\" content=\"Easily import your nested parent-child hierarchical taxonomies using our easy drag-and-drop process. No custom code is needed!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpallimport.com\/documentation\/nested\/\" \/>\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:31:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/nested-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"797\" \/>\n\t<meta property=\"og:image:height\" content=\"256\" \/>\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\/nested\/\",\"url\":\"https:\/\/www.wpallimport.com\/documentation\/nested\/\",\"name\":\"Importing Nested Hierarchical Taxonomies - WP All Import\",\"isPartOf\":{\"@id\":\"https:\/\/www.wpallimport.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/nested\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/nested\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/nested-1.png\",\"datePublished\":\"2019-11-14T00:00:00+00:00\",\"dateModified\":\"2025-12-08T18:31:51+00:00\",\"description\":\"Easily import your nested parent-child hierarchical taxonomies using our easy drag-and-drop process. No custom code is needed!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/nested\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wpallimport.com\/documentation\/nested\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/nested\/#primaryimage\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/nested-1.png\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/nested-1.png\",\"width\":797,\"height\":256},{\"@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":"Importing Nested Hierarchical Taxonomies - WP All Import","description":"Easily import your nested parent-child hierarchical taxonomies using our easy drag-and-drop process. No custom code is needed!","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\/nested\/","og_locale":"en_US","og_type":"article","og_title":"Importing Nested Hierarchical Taxonomies - WP All Import","og_description":"Easily import your nested parent-child hierarchical taxonomies using our easy drag-and-drop process. No custom code is needed!","og_url":"https:\/\/www.wpallimport.com\/documentation\/nested\/","og_site_name":"WP All Import","article_author":"https:\/\/www.facebook.com\/groups\/wpallimport","article_modified_time":"2025-12-08T18:31:51+00:00","og_image":[{"width":797,"height":256,"url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/nested-1.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\/nested\/","url":"https:\/\/www.wpallimport.com\/documentation\/nested\/","name":"Importing Nested Hierarchical Taxonomies - WP All Import","isPartOf":{"@id":"https:\/\/www.wpallimport.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpallimport.com\/documentation\/nested\/#primaryimage"},"image":{"@id":"https:\/\/www.wpallimport.com\/documentation\/nested\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/nested-1.png","datePublished":"2019-11-14T00:00:00+00:00","dateModified":"2025-12-08T18:31:51+00:00","description":"Easily import your nested parent-child hierarchical taxonomies using our easy drag-and-drop process. No custom code is needed!","breadcrumb":{"@id":"https:\/\/www.wpallimport.com\/documentation\/nested\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpallimport.com\/documentation\/nested\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/documentation\/nested\/#primaryimage","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/nested-1.png","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/nested-1.png","width":797,"height":256},{"@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\/2991569","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\/2991569\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/2991567"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media\/2990199"}],"wp:attachment":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media?parent=2991569"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/tags?post=2991569"},{"taxonomy":"content_author","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/content_author?post=2991569"},{"taxonomy":"search_tags","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/search_tags?post=2991569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}