# Import working well, apart from Location

**URL:** <https://community.hivepress.io/t/import-working-well-apart-from-location/15268>\
**Category:** Import\
**Created:** [March 13, 2025, 2:25pm UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268 "2025-03-13T14:25:38Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![graham](https://community.hivepress.io/letter_avatar_proxy/v4/letter/g/4af34b/32.png) [@graham](https://community.hivepress.io/u/graham)\
**Post date:** [March 13, 2025, 2:25pm UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/1 "2025-03-13T14:25:38Z")

</div>

Hi i am importing a number of sites using the IMPORT CSV, i have a location field, which i use a postcode for.  
IT all imports ok… but when i search on that postcode, the site is not found. I have to go in and edit the listing, at the location, i have to click on the suggestion (that comes up when i enter the postcode, thats there already) & then once saved i can find the site again.

HOw can i get the import function to import the location that is searchable.

---

<div class="post-metadata">

**Author:** ![condorito.fr](https://community.hivepress.io/user_avatar/community.hivepress.io/condorito.fr/32/11449_2.png) [@condorito.fr](https://community.hivepress.io/u/condorito.fr)\
**Post date:** [March 13, 2025, 7:18pm UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/2 "2025-03-13T19:18:59Z")

</div>

Hello,

I don’t know if this is your case, but is your location field based on geolocation extension ?

If so, you must know that the geolocation consists of three elements :

- A “location” text (in your case a postcode)
- a latitude
- a longitude

The location name by itself won’t help much.

GPS coordinates are stored in `hp_location`, `hp_latitude`, `hp_longitude` fields respectively.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![graham](https://community.hivepress.io/letter_avatar_proxy/v4/letter/g/4af34b/32.png) [@graham](https://community.hivepress.io/u/graham)\
**Post date:** [March 14, 2025, 9:56am UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/3 "2025-03-14T09:56:13Z")

</div>

Hi thanks, when i do an export i only get one “location” filed “Location”, which i’ve used as a postcode (in the past). How do i integrate the hp\_location etc attributes?

when i import, i only get fields for description, title, location, image, etc - not sure how i am able to add in lat/long values

see image:

 ![{E3C0059A-8056-4840-B906-5246173F420D}](https://community.hivepress.io/uploads/default/original/2X/8/876b7b9927509ffcb483fd6977cfc1364fb6370d.png)

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [March 17, 2025, 11:06am UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/5 "2025-03-17T11:06:01Z")

</div>

Hi,

Please make sure that you have the latest version of the Import 1.2.2 extension, as you should have the following two fields available: [Awesome Screenshot](https://tinyurl.com/2aprfo4j).

---

<div class="post-metadata">

**Author:** ![graham](https://community.hivepress.io/letter_avatar_proxy/v4/letter/g/4af34b/32.png) [@graham](https://community.hivepress.io/u/graham)\
**Post date:** [March 17, 2025, 11:30am UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/6 "2025-03-17T11:30:38Z")

</div>

thanks, i seem already to have the 1.2.2 version… see image

![{12CF56E2-A93A-464E-A62E-2D9187FAA6CF}](https://community.hivepress.io/uploads/default/original/2X/f/f4efe84f0e838fb3a9b64cce21d0f1ce0b4e13cd.png)

and doesnt have a latitude/longitude option… I’ m very confused.

 ![{88FB5C09-6C45-4131-8E19-FEB93CE4635E}](https://community.hivepress.io/uploads/default/original/2X/7/716a69898b196393f7b4de3f543695b3d1eb29d2.png)

---

<div class="post-metadata">

**Author:** ![graham](https://community.hivepress.io/letter_avatar_proxy/v4/letter/g/4af34b/32.png) [@graham](https://community.hivepress.io/u/graham)\
**Post date:** [March 17, 2025, 11:59am UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/7 "2025-03-17T11:59:54Z")

</div>

I noticed that latitude/longitude options were introduced as part of the Geolocation version 1.3.7.1 ; i have the latest version of the plug in - but cant use the lat/long options… Do i need to do to re-fresh the plugin???

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [March 18, 2025, 1:22pm UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/9 "2025-03-18T13:22:33Z")

</div>

Hi,

Please send temporary WP access to [support@hivepress.io](mailto:support@hivepress.io) with details for reproducing this issue, and we’ll check it (please send only the link, without login and password). You can create a temporary access link using this plugin [Temporary Login Without Password – WordPress plugin | WordPress.org](https://wordpress.org/plugins/temporary-login-without-password).

---

<div class="post-metadata">

**Author:** ![graham](https://community.hivepress.io/letter_avatar_proxy/v4/letter/g/4af34b/32.png) [@graham](https://community.hivepress.io/u/graham)\
**Post date:** [March 19, 2025, 9:07am UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/10 "2025-03-19T09:07:34Z")

</div>

thanks, i’ve sent an email and set up the plugin

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [March 20, 2025, 10:12am UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/12 "2025-03-20T10:12:32Z")

</div>

Hi,

Yes, there is a small issue, we have added a temporaries fix, now these two fields are displayed.

```auto
add_filter(
 'hivepress/v1/models/listing/attributes',
 function( $attributes ) {
  if ( isset( $attributes['location'] ) ) {
   $attributes['latitude']['edit_field']['label'] = 'Latitude';
   $attributes['latitude']['edit_field']['_order'] = 36;

   $attributes['longitude']['edit_field']['label'] = 'Longitude';
   $attributes['longitude']['edit_field']['_order'] = 37;
  }

  return $attributes;
 },
 1000
);

```

​I hope this is helpful to you

---

<div class="post-metadata">

**Author:** ![0xpanceta](https://community.hivepress.io/user_avatar/community.hivepress.io/0xpanceta/32/13006_2.png) [@0xpanceta](https://community.hivepress.io/u/0xpanceta)\
**Post date:** [April 14, 2025, 1:51pm UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/13 "2025-04-14T13:51:03Z")

</div>

I’ve got the same problem - despite matching columns for latitude and longitude. I’ve tried reinstalling the plugin for the newest version, but I still have to go into each listing and click on the suggested location.

I’m wondering if this has anything to do with the decimal separator (comma vs point).

Any ideas?

Thanks!

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [April 15, 2025, 9:00am UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/15 "2025-04-15T09:00:35Z")

</div>

Hi,

Please send temporary WP access to [support@hivepress.io](mailto:support@hivepress.io) with details for reproducing this issue, and we’ll check it (please send only the link, without login and password). You can create a temporary access link using this plugin [Temporary Login Without Password – WordPress plugin | WordPress.org](https://wordpress.org/plugins/temporary-login-without-password). Also, please attach the file you are using for import.

---

<div class="post-metadata">

**Author:** ![graham](https://community.hivepress.io/letter_avatar_proxy/v4/letter/g/4af34b/32.png) [@graham](https://community.hivepress.io/u/graham)\
**Post date:** [April 15, 2025, 9:14am UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/16 "2025-04-15T09:14:13Z")

</div>

Tech support sorted this for me…and i found if i use the character with ascii code 150, it failed to import. That was simple to fix (using another “-” character)

---

<div class="post-metadata">

**Author:** ![0xpanceta](https://community.hivepress.io/user_avatar/community.hivepress.io/0xpanceta/32/13006_2.png) [@0xpanceta](https://community.hivepress.io/u/0xpanceta)\
**Post date:** [April 17, 2025, 6:13pm UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/17 "2025-04-17T18:13:27Z")

</div>

Thanks Andrii, we’ve been chatting via email for a while, I’ve sent you the access. I’m [escolhasenior@gmail.com](mailto:escolhasenior@gmail.com). I’ve sent you the file attached there as well. Cheers,

---

<div class="post-metadata">

**Author:** ![0xpanceta](https://community.hivepress.io/user_avatar/community.hivepress.io/0xpanceta/32/13006_2.png) [@0xpanceta](https://community.hivepress.io/u/0xpanceta)\
**Post date:** [April 17, 2025, 6:18pm UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/18 "2025-04-17T18:18:04Z")

</div>

Thanks Graham! I tried this but apparently I’m not using – (the ascii 150 char). I tried finding it with cntrl F on my data and didn’t return anything.

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [May 18, 2025, 10:10am UTC](https://community.hivepress.io/t/import-working-well-apart-from-location/15268/23 "2025-05-18T10:10:27Z")

</div>

Closed on May 18, 2025, 10:10am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
