• Hi all, I’ve got a problem with a “ghost” category not getting deleted.

    In detail, I’m try to edit a new category “T Shirts”; I want the slug to be “t-shirts”, but when I save, it reverts to “t-shirts-2”.

    I’m guessing this is because I’ve been playing around with wordpress for a while (getting to grips!) and I’ve created a category called “T Shirts” in the past, and have since deleted it. To clarify, this category does not show up on my edit categories section.

    Basically I’m wondering if there’s somewhere in my php files where that category has not been fully deleted?

    Screen grab here

    Many thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I had the same issue.

    In my case, it was because I had ‘tags’ using the same name. When I deleted the tag, say “t-shirts”, it let me use “t-shirts” as a category name instead of reverting it to “t-shirts-2”

    Give that a try, let me know if it works for you too.

    Thread Starter faboon

    (@faboon)

    Hey, thanks for the reply – in the end I found a fix that involved editing the php files. Seems the “ghost” slug doesn’t get trashed here.

    I can’t remember exactly there I found the instructions, but it’s briefly detailed here.

    Cheers.

    Thread Starter faboon

    (@faboon)

    Found it!

    I’ve seen a few people who were having this problem, hopefully they find their way here because this is a perfect fix.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to delete a duplicate category?’ is closed to new replies.