gd_place slug with -1

This topic contains 2 replies, has 2 voices, and was last updated by  Mitch Canton 5 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #478433

    Mitch Canton
    Expired Member
    Post count: 167

    I understand the concept of WP not allowing duplicate taxonomy terms.

    But in my v1 none of my locations had a -1 appended to the slug, yet in my conversion to v2 they now ALL have the -1 appended to the slug.

    Did WPGD location names change in that they now conflict with existing *other* WP taxonomy terms?

    Or did something happen in conversion to create two?

    In php myadmin there is a ‘gd_city’ of ‘abc-1’ and a ‘city’ of ‘abc-1’ in wp_geodir_term_meta

    There was also a slug of ‘abc’ in wp_terms.

    But again, I guess I just don’t understand why if there were not -1 in the slugs in v1, why they were added upon conversion to v2?

    Thanks.

    #478469

    Kor
    Moderator
    Post count: 16516

    Hi Mitch,

    Thanks for your post. You can use the method from this article to fix this https://wpgeodirectory.com/docs/faqs/why-do-my-locations-get-a-1-at-the-end/

    #478692

    Mitch Canton
    Expired Member
    Post count: 167

    Hi Kor,

    Thanks. Funny enough, I had already read that. I had gone in and made some changes to the data in some tables, but nothing happened.

    I read it again. Went back in and made some changes to different tables, wp_geodir_post_locations, and now it seems to be fine. Will keep testing to see.

    I’m doing all this on a staging site, hoping to find all these issues before I attempt to convert v1>v2 on the production site. Fingers crossed. 🙂

    Thanks for the help. Have a great day.

Viewing 3 posts - 1 through 3 (of 3 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