Remove a "-1" From Slug

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

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #511598

    identity
    Lifetime Member
    Post count: 445

    I understand the -# slugs, but is there a way to eliminate on a fresh build?

    I’m rebuilding on V2 from a new install, all from scratch, nothing uploaded, migrated, etc.

    Under events I had changed “Music” to something else, continued building out categories, and then later decided to break “Performing Arts” back out into 3 categories.

    Since the “music” slug doesn’t actually exist anywhere, how can I clear it from the database to revert “music-1” back to “music?”

    Cheers

    #511605

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Thanks for your post. You can refer to this section of the documentation https://wpgeodirectory.com/docs/faqs/why-do-my-locations-get-a-1-at-the-end/ that explains more about this.

    #511621

    identity
    Lifetime Member
    Post count: 445

    Excellent, that helped, thanks!

    Turns out there was a sample tag already with “music” as the slug.

    Sure this is more of a WP issue than a GD, but as I see the posts, pages, and category URLs being “primary,” it would be nice if tag URL’s could be structured to auto-append a character or word:

    music-tag
    music-t
    etc.

    Doesn’t completely eliminate the potential issue, but at least helps downgrade the impact, especially when tags or something that may be turned on for any user to create.

    Cheers

    #511812

    Kor
    Moderator
    Post count: 16516

    Hi identity,

    Thanks for sharing your feedback. Let us know if you need anything further.

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