• I have a Category named ‘blumen’, which I want to rename to ‘flowers’.
    This however is not allowed because a category of that name shall already exist. This howerver is simply not true. It seems to be a bug in the database or wp. At least I can not find such a category in the list of them in the backend.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    You may want to check directly on database table wp_terms (if needed, change ‘wp’ with your table prefix) if you have a category called ‘flowers’ — be careful.

    Regards

    Thread Starter mpospiech

    (@mpospiech)

    In that database an entry ‘flowers’ does exist. I emptied all caches, but still this entry is not displayed in the list of categories in the backend.

    Weird. Although not the best way, maybe you can try to update it directly on database — don’t forget to perform a database backup before this.

    Thread Starter mpospiech

    (@mpospiech)

    wp_term does not only contain the categories, it also seems to contain the tags. Therefore it is understandable that the entry exists. But should it be forbidden to create a category with an existing tag name? If so I assume this to be a bug.

    Name is a key field and slug is an unique key field, so if you provide a name and slug already inserted before you will get an error.

    SELECT * FROM wp_terms WHERE slug = 'flowers';

    Thread Starter mpospiech

    (@mpospiech)

    This finds

    term_id name slug term_group
    27 flowers flowers 0

    but I have no idea how that should help me.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘category can not be renamed’ is closed to new replies.