{"id":364295,"date":"2025-09-30T10:47:03","date_gmt":"2025-09-30T04:47:03","guid":{"rendered":"https:\/\/directorist.com\/?post_type=docs&#038;p=364295"},"modified":"2026-01-29T08:10:51","modified_gmt":"2026-01-29T02:10:51","password":"","slug":"import-and-export","status":"publish","type":"docs","link":"https:\/\/directorist.com\/docs\/import-and-export\/","title":{"rendered":"Import and Export"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to Import\/Export CSV File on Directorist?\" width=\"1140\" height=\"641\" src=\"https:\/\/www.youtube.com\/embed\/FZ8JDB8Dgec?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">CSV Import\/Export<\/h2>\n\n\n\n<p>The&nbsp;<strong>CSV Import\/Export<\/strong> lets you manage large volumes of listings efficiently. You can bulk upload thousands of listings at once, migrate data from another site, or back up your existing listings in just a few steps.&nbsp;<\/p>\n\n\n\n<p>Go to&nbsp;<strong>Directory Listings \u2192 Settings \u2192 Import and Export<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"548\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-129-1024x548.png\" alt=\"\" class=\"wp-image-364299\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-129-1024x548.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-129-300x161.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-129-768x411.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-129-1536x822.png 1536w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-129-2048x1096.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Before you begin(Skip if you have listings less than 500):<\/strong>&nbsp;<\/h2>\n\n\n\n<p>A CSV file of 25000 records isn\u2019t a problem for Directorist itself, but it may overflow the memory of most hosting services during import. We would recommend you break your CSV file with a smaller number of records \u2014 start with about 500 records and see how that goes. You may need to adjust the numbers depending on your hosting plan.<\/p>\n\n\n\n<p>If you do not have any CSV file then you can get started with a sample CSV file\u2013it\u2019s WAY easier than typing it from scratch and helps to avoid common errors. Download it from&nbsp;<strong>Directory Listings \u2192 Settings \u2192 Import and Export \u2192 Run Importer and Download a simple CSV.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/csQ4wp2.png\" alt=\"\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><br><strong>How to import using Directorist CSV Tool<\/strong><\/h2>\n\n\n\n<p><strong>Step 1:<\/strong>&nbsp;Navigate to&nbsp;<strong>WP-Admin Dashboard \u2192 Directory Listings \u2192 Settings \u2192Import and Export\u2192 <\/strong> click on&nbsp;<strong>&#8220;Run Importer&#8221;<\/strong> and upload the CSV file.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"721\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-131-1024x721.png\" alt=\"\" class=\"wp-image-364301\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-131-1024x721.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-131-300x211.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-131-768x541.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-131-1536x1082.png 1536w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-131.png 1690w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><br><strong>Step 2:&nbsp;<\/strong>In the next window, you will see the column mapping section wherein you need to map the CSV fields to the Directorist listing fields. The left column represents the CSV file&#8217;s field names and the right column Directorist field names. To map your CSV field, select the field from the field dropdown in the &#8220;Map to field&#8221; column.<\/p>\n\n\n\n<p>For example, say, you have a field &#8220;name&#8221; in your CSV file and you want to display the name as the title of the listing. Map the &#8220;name&#8221; field to &#8220;title&#8221; by selecting it from the dropdown next to the &#8220;name&#8221; field and then, repeat the process for the rest of the fields. If you do not want to import a field simply select the &#8220;Do not import&#8221; option. Click&nbsp;<strong>&#8220;Run the Importer&#8221;<\/strong>&nbsp;button when you are done.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/s7.gifyu.com\/images\/import6490b26b0e7666f8.gif\" alt=\"\" \/><\/figure>\n\n\n\n<p><br><strong>Note:<\/strong>&nbsp;External URLs are imported into the media library and attached to the post if you map them correctly. Also, If your CSV file contains the same &#8220;Category&#8221; and &#8220;Location&#8221; names that you already have on your site then Directorist CSV tool will not create the category and location to avoid duplication. For example, suppose, you already have a category &#8220;Food&#8221; and if your CSV file contains the same then the contents will be saved in &#8220;Food&#8221; but no new category will be created.<\/p>\n\n\n\n<p><strong>Step 3:&nbsp;<\/strong>Directorist CSV tool will start the import process and upon completion, you will get a confirmation message.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to export using Directorist CSV Tool<\/strong><\/h2>\n\n\n\n<p>Navigate to&nbsp;<strong>WP-Admin Dashboard \u2192 Directory Listings \u2192 Settings \u2192Import and Export <\/strong>and click on&nbsp;<strong>&#8220;Download Export File&#8221;<\/strong> to download the CSV file.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"562\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-133-1024x562.png\" alt=\"\" class=\"wp-image-364304\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-133-1024x562.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-133-300x165.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-133-768x421.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-133-1536x843.png 1536w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-133-2048x1124.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><br>Import\/Export Settings<\/h2>\n\n\n\n<p>In addition to managing listings, Directorist lets you back up, transfer, or restore your&nbsp;<strong>plugin settings<\/strong>. These settings are exported and imported as a JSON file. This is useful when moving configurations between sites or creating backups before making changes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"453\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-134-1024x453.png\" alt=\"\" class=\"wp-image-364305\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-134-1024x453.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-134-300x133.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-134-768x339.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-134-1536x679.png 1536w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/09\/image-134.png 2014w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><br>Export Settings<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to&nbsp;<strong>Directory Listings \u2192 Settings \u2192 Import and Export<\/strong>.<\/li>\n\n\n\n<li>Under&nbsp;<strong>Settings \u2192 Export<\/strong>, click&nbsp;<strong>Download Settings File<\/strong>.<\/li>\n\n\n\n<li>A&nbsp;<code>.json<\/code>&nbsp;file will be saved to your computer. This file contains all your Directorist configuration.<\/li>\n<\/ol>\n\n\n\n<p>Use this file as a&nbsp;<strong>backup<\/strong>&nbsp;or to replicate the same setup on another site.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Import Settings<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to&nbsp;<strong>Directory Listings \u2192 Settings \u2192 Import and Export<\/strong>.<\/li>\n\n\n\n<li>Under&nbsp;<strong>Settings \u2192 Import<\/strong>, click&nbsp;<strong>Upload Settings File<\/strong>.<\/li>\n\n\n\n<li>Select the&nbsp;<code>.json<\/code>&nbsp;file you previously exported.<\/li>\n\n\n\n<li>Directorist will apply the imported settings to your site.<\/li>\n<\/ol>\n\n\n\n<p><strong>Note:<\/strong>&nbsp;Importing will overwrite your existing settings. Always back up your current configuration before uploading a new one.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Restore Default Settings<\/h3>\n\n\n\n<p>If you need to start fresh, click&nbsp;<strong>Restore<\/strong>&nbsp;under&nbsp;<strong>Restore Default Settings<\/strong>. This will reset all settings to their original defaults.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>FAQ<\/strong><\/h3>\n\n\n\n<p><strong>Q: Is there any file size limit or how many listings can I import?<\/strong><\/p>\n\n\n\n<p>Ans: There is no upper limit on the number of records that can be imported using the CSV file process, though your hosting plan may have some effect on the process. This is typically something that your hosting company can help you with, including reading any error logs that have been produced.<\/p>\n\n\n\n<p><strong>Q: Can I upload fields that have multiple values?<\/strong><\/p>\n\n\n\n<p>Ans: Yes, indeed you can upload multiple values in a single listing. (i.e. multiple categories or locations).<\/p>\n\n\n\n<p><strong>Q: Can I have external URLs in my CSV file?<\/strong><\/p>\n\n\n\n<p>Ans: Yes, external URLs are imported into the media library and attached to the post. For example, if you have a URL for the preview image, then the image will be saved in the media library as well as will be displayed as a preview image.<\/p>\n\n\n\n<p><strong>Q: Does the field names have to match with the Directorist fields?<\/strong><\/p>\n\n\n\n<p>Ans: No! You can import all sorts of fields in Directorist. You simply need to map the fields correctly.<\/p>\n\n\n\n<p><strong>Q:<\/strong>&nbsp;<strong>Can I bulk edit listings through importer?<\/strong><\/p>\n\n\n\n<p>Ans: Bulk edit listings through importer is unavailable at the moment.<\/p>\n\n\n\n<p><strong>Q: Can I bulk export listings as CSV?&nbsp;<\/strong><\/p>\n\n\n\n<p>Ans: Yes, you can bulk export listings as CSV with Directorist. It provides functionality to export listings in bulk to CSV format, which can be useful for various purposes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Developers Note<\/strong><\/h3>\n\n\n\n<p><strong>Number of listings imported on every cycle<\/strong><\/p>\n\n\n\n<p>Directorist imports 20 listings on every cycle of the importing process and, if you are having trouble importing 20 listings due to memory issues of your server, try reducing the import batch size to 5 or 1 and then re-attempt. This will result in a longer batch import time but will increase the chance of success on shared hosting platforms and other resource-constrained servers.<\/p>\n\n\n\n<p>To reduce the number of listings per import cycle add the following snippet in themes functions.php<\/p>\n\n\n\n<p><code>function listing_import_limit_per_cycle(){<br>return 20;<br>}<br>add_filter('atbdp_listing_import_limit_per_cycle', 'listing_import_limit_per_cycle');<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CSV Import\/Export The&nbsp;CSV Import\/Export lets you manage large volumes of listings efficiently. You can bulk upload thousands of listings at once, migrate data from another site, or back up your existing listings in just a few steps.&nbsp; Go to&nbsp;Directory Listings \u2192 Settings \u2192 Import and Export Before you begin(Skip if you have listings less than [&hellip;]<\/p>\n","protected":false},"author":24585,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[701],"doc_tag":[],"class_list":["post-364295","docs","type-docs","status-publish","hentry","doc_category-getting-started"],"year_month":"2026-03","word_count":1014,"total_views":"0","reactions":{"happy":"0","normal":"0","sad":"1"},"author_info":{"name":"yousuf.sovware","author_nicename":"yousuf-sovware","author_url":"https:\/\/directorist.com\/author\/yousuf-sovware\/"},"doc_category_info":[{"term_name":"Getting Started","term_url":"https:\/\/directorist.com\/docs-category\/getting-started\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs\/364295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/users\/24585"}],"replies":[{"embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/comments?post=364295"}],"version-history":[{"count":0,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs\/364295\/revisions"}],"wp:attachment":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/media?parent=364295"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/doc_category?post=364295"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/doc_tag?post=364295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}