Sliug with -1

This topic contains 3 replies, has 2 voices, and was last updated by  Guust 8 years, 2 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #260595

    joao Delgado
    Buyer
    Post count: 23

    Hi.

    Before installing this geodirectory plugin, i had installed the another directory theme.
    I´ve added all the locations and categories ( taxonomies).
    I´ve uninstalled the theme when installed geodirectory.

    The question is that i think that those categories and locations are still somewhere, because, when i now add a new category ( with the same name), in the url, it add a “-1”.

    For example:

    http://www.bizmadeira.com/diretorio/item/turismo-1/agencias-de-viagens-1/

    Also, the same happens with the locations

    How can we fix this? Delete the previous taxonomies, maybe?

    Thanks

    #260602

    Guust
    Moderator
    Post count: 29970

    You could try deleting them, both the old and new ones, and then recreate. That usually works for categories at least. If it does not work you will have to change it in the database.

    See also https://wpgeodirectory.com/docs/faqs/why-do-my-locations-get-a-1-at-the-end/

    #260826

    joao Delgado
    Buyer
    Post count: 23

    Hi.

    And how can i change it on the database? How to acess the database?

    Thanks

    #260843

    Guust
    Moderator
    Post count: 29970

    Usually you can access with phpMyAdmin through your hosting control panel.
    For example if you have “slug-1”, you first need to find “slug” and then replace that with “slug-2” for example. Then find “slug-1” and replace with “slug”.

    But this might be a better solution for you: https://wordpress.org/plugins/search-and-replace/

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