slugs of categories

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

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

Open Support Ticket
  • Author
    Posts
  • #57025

    richrubb
    Expired Member
    Post count: 4

    Hi, I just have a query.
    The slugs of my categories in places add a dash and number at their end like this my-place-1

    If I remove the -1 or -2 that seem to appear they return. It doesnt happen if I dont include a space between the name of category.

    I just wonder if this is usual behavior. In my experience this on normal pages represents a duplicate. In posts one usually permanently deletes the posts and then its is freed up but in categories there is no way to do this. Do i need to go into the database and if so where do i delete perhaps a previous version?
    Thanks in advance
    Richard

    #57055

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    that happens when in the database there is element with the same slug. You can not have 2 identical slugs with wordpress.

    You should find and edit the slugs present in your database before being able to remove the -1 on your listings categories.

    Let us know how you went,

    Thanks

    #57157

    richrubb
    Expired Member
    Post count: 4

    Thanks, thats what I thought but missed tht I had a tag with the same slug. Deleted the tag and works fine. thanks
    Richard

    #57205

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

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