{"id":2644,"date":"2026-10-20T08:35:23","date_gmt":"2026-10-20T07:35:23","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/please-choose-any-address-of-the-city-only\/"},"modified":"2026-10-20T08:40:20","modified_gmt":"2026-10-20T07:40:20","slug":"please-choose-any-address-of-the-city-only","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/troubleshooting\/please-choose-any-address-of-the-city-only\/","title":{"rendered":"&#8220;Please choose any address of the (city) city only&#8221; error when adding a listing"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">GeoDirectory shows this message on the Add Listing form when the address you set on the map is outside the city your directory is limited to. Without the Location Manager add-on, GeoDirectory is a single city directory, so every listing has to be in the city of your default location.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the brackets are empty, as in &#8220;Please choose any address of the () city only.&#8221;, no default city has been saved yet, and every address fails the check.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Set the default location<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>If you use OpenStreetMap, first set Maps API at GeoDirectory > Settings > General (under Show Advanced), so the default location comes from the same map service as the Add Listing form.<\/li>\n\n\n\n<li>Go to GeoDirectory > Settings > General > Default Location.<\/li>\n\n\n\n<li>Search for your city or drag the map marker to it.<\/li>\n\n\n\n<li>Check that City, Region, Country, City Latitude and City Longitude are filled in, then save changes.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The check compares city names, so the saved city must be spelled the way the map service returns it for addresses in that city. If addresses in your city still fail, try setting the default location again by dragging the marker onto a street in the city centre.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Listings in more than one city<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To accept addresses anywhere, or in a set of countries, regions or cities, you need the Location Manager add-on. With it, the same kind of message names the places you allow, for example &#8220;Please choose any address of the (United Kingdom) country only.&#8221; See the <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/location-manager\/location-manager-setup-guide\/\">Location Manager setup guide<\/a> and <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/location-manager\/how-do-i-change-the-default-location\/\">How do I change the default location?<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GeoDirectory shows this message on the Add Listing form when the address you set on the map is outside the city your directory is limited to. Without the Location Manager add-on, GeoDirectory is a single city directory, so every listing has to be in the city of your default location. If the brackets are empty, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,437],"class_list":["post-2644","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\/2644","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=2644"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2644\/revisions"}],"predecessor-version":[{"id":2801,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2644\/revisions\/2801"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2644"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2644"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}