Can’t edit category slug ?

I was trying to reorganize blog’s category and tag last night, but i keep getting error unable to change category slug , the error message is very general, just mention that it cannot update the category.

I search through wordpress forum and google , it seem like this is not a wordpress bug because there are not many people talking about it, just some user mention it but without any reply, after few hour play around and looking into database & code level, finally i resolve the problem.

This happen after wordpress 2.3 release and introduce tag feature , the database structure has been changed, it combine the links category, post category and tag in one table, because for category slug it need to be unique, when you unable to change means the “word” has been used either by link category or tag.

The simple solutions is use another slug or get any tag management plugin to remove the “word” that you are planning to use as your category slug, i recommend use Simple Tags to handle the tag management.

I just wonder can’t the error message more meaningful ? it just like some stupid system design “This happen because of error xxxx0xxx000″

  • del.icio.us
  • Digg
  • description
  • Facebook
  • Google
  • Mixx
  • StumbleUpon
  • TwitThis
Tags: wordpress, wordpress 2.3, wordpress tips

8 Comments

  1. happy
    Posted Wed 20th-Feb-2008 at 9:19 am | Permalink

    dude - thank you for helping me solve this issue! stupid non updating categories were driving me crazy.

  2. Posted Mon 17th-Mar-2008 at 11:32 am | Permalink

    thanks a lot.. my stupid problem solved!

  3. Knight
    Posted Sun 23rd-Mar-2008 at 12:16 am | Permalink

    No worry, glad that help

  4. Posted Mon 31st-Mar-2008 at 10:40 am | Permalink

    The new WP 2.5 still has this problem…
    Thanks a lot it’s a great help! :)

  5. Posted Sat 10th-May-2008 at 10:08 am | Permalink

    Good post. I had the same problem and now I realized that one of my tags caused the conflicts.

    I second the idea that the error message should be more informative.

  6. Posted Tue 3rd-Jun-2008 at 8:24 pm | Permalink

    It works!!Thanks a lot!

  7. Knight
    Posted Tue 3rd-Jun-2008 at 11:16 pm | Permalink

    DiggLife,

    welcome, glad that help

  8. Posted Fri 1st-Aug-2008 at 1:21 am | Permalink

    that’s really help.. really confuse with the tags thingy

2 Trackbacks

  1. [...] Or better, instead of changing the slug or category, deleting the conflicting tags seems to be a better solution: [...]

  2. By DiggLife on Tue 3rd-Jun-2008 at 8:33 pm

    Wordpress无法编辑分类缩略名(Slug)的解决…

    今天在获得Google管理员工具的抓取错误信息之后想整理一下分类和标签,发现当修改分类缩略名(Slug)的时候Wordpress始终提示"分类未更新",亦然保持原有的缩略名.用Google搜索了一圈之后没…

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*