{"id":2952,"date":"2026-10-20T08:40:18","date_gmt":"2026-10-20T07:40:18","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/csv-import-post-type-missing-2\/"},"modified":"2026-10-20T08:40:18","modified_gmt":"2026-10-20T07:40:18","slug":"csv-import-post-type-missing-2","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/troubleshooting\/csv-import-post-type-missing-2\/","title":{"rendered":"CSV import fails with &#8220;Post type missing&#8221;"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">&#8220;Post type missing&#8221; on a GeoDirectory CSV import means the importer could not read a value from the <code>post_type<\/code> column for that row. Usually the column is there, but the file has been saved in a way the importer cannot read.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common causes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The file was saved with semicolons instead of commas. Excel does this in many European locales. GeoDirectory reads comma separated files only, so the whole row ends up in one column.<\/li>\n\n\n\n<li>The header row was changed, so there is no column named exactly <code>post_type<\/code>.<\/li>\n\n\n\n<li>The post_type cell is empty, or contains a post type that does not exist on your site. Places use <code>gd_place<\/code>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to fix it<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Instead of the sample file, add one listing by hand and export it from GeoDirectory > Settings > Import\/Export. The export has the exact columns your site uses, including your custom fields.<\/li>\n\n\n\n<li>Open the CSV in LibreOffice Calc. When it asks, choose comma as the separator and UTF-8 as the character set.<\/li>\n\n\n\n<li>Add your rows below the exported one, keeping the header row as it is.<\/li>\n\n\n\n<li>Save as Text CSV, keep the comma separator and UTF-8, and import the file.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Category imports have the same requirement: use the category export as your starting point, because each row needs the post type in its <code>cat_posttype<\/code> column.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">More tips are in <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/csv-imports-useful-tips\/\">CSV imports useful tips<\/a> and the <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/explore-settings\/settings-overview-for-import-export-listings\/\">listings import settings overview<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Post type missing&#8221; on a GeoDirectory CSV import means the importer could not read a value from the post_type column for that row. Usually the column is there, but the file has been saved in a way the importer cannot read. Common causes How to fix it Category imports have the same requirement: use the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,437],"class_list":["post-2952","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-tips-tricks-more","gd_placecategory-troubleshooting"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=2952"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2952\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2952"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2952"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}