Import into GeoDirectory fails

This topic contains 7 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #508046

    Vanessa Law
    Full Member
    Post count: 61

    I attempted to import Places onto a new site, and even though it says 2344 items were updated, no places were imported.

    Steps I took:
    1. Import categories (most imported correctly but I had to make a few changes)
    2. Create a test place
    3. Import items

    More details in followup private post

    #508047

    Vanessa Law
    Full Member
    Post count: 61
    This reply has been marked as private.
    #508059

    Alex Rollin
    Moderator
    Post count: 27815

    If you want to import these as new listings you will want to remove the value from the ID Column.

    #508064

    Vanessa Law
    Full Member
    Post count: 61

    Magic, thank you!
    You’ve been a life saver today, thanks Alex!
    I was wrestling with this one for a few days now.

    If I’m exporting from one site and importing into another site, is there an easy way to preserve the categories? It looks like they’re also based on ID, and on import all places came through without a category. (I had previously imported categories from this same site)

    #508068

    Alex Rollin
    Moderator
    Post count: 27815

    There is not, categories will almost always have different IDs on different sites. WordPress is very ‘human scale’ that way.

    #508069

    Vanessa Law
    Full Member
    Post count: 61

    I’m totally going to use the phrase ‘human scale’ next time one of my engineers complains about servers not scaling 🙂 🙂

    #508070

    Vanessa Law
    Full Member
    Post count: 61

    Oh, just figured out a quick workaround for this, I’ll create a gloriously large switch statement in excel to map between cat ids and just do a quick manual copy/paste in the spreadsheet.
    As long as I save the switch statement I’ll be able to do future imports pretty easily.

    Thanks!

    #508073

    Alex Rollin
    Moderator
    Post count: 27815

    Excellent!

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount