# Categorie wordt gebroken en kan niet meer worden verwijderd

**URL:** <https://meta.discourse.org/t/category-breaking-and-becoming-undeletable/178149>\
**Category:** Bug\
**Created:** [2 februari 2021 om 18:32 UTC](https://meta.discourse.org/t/category-breaking-and-becoming-undeletable/178149 "2021-02-02T18:32:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Capelo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/capelo/32/208139_2.png) [@Capelo](https://meta.discourse.org/u/Capelo)\
**Post date:** [2 februari 2021 om 20:41 UTC](https://meta.discourse.org/t/category-breaking-and-becoming-undeletable/178149/3 "2021-02-02T20:41:15Z")

</div>

> Being able to create a broken category sounds like a bug to me.  
> When you say ‘subcategory Title’, are you referring to the category-slug field?

Ah, yes, that’s what I mean. When I say ‘Title’ I mean ‘Slug’. I just thought the translation was slightly more literal.

> Yes, that sounds like the cause of the problem. You could try going to your `slug generation method` site setting. If it is set to `ascii` , try temporarily changing the setting to `encoded` . That might allow you to access and edit the category.

Just changing the slug generation method to ‘encoded’ didn’t let me get into the Category, but it gave me an idea. When I tried getting into the broken category, the URL wasn’t being updated to the category URL, it just showed the main site’s. So I wondered if the problem was that the category name wasn’t being parsed correctly by the piece of code handled the URL generation, due to the meta-characters in the category’s slug. So I left the slug generation method ‘encoded’, and then tried a thing so weird, it might just work. I put an emoji into a URL address:

![That is the toolbox emoji in the address bar, alright.](https://global.discourse-cdn.com/meta/original/3X/e/f/efe8dec86721d4f762728f7bd270d2eb446da71c.png)

And… it worked. I got into the category and managed to delete it without incident via the user interface.

This was certainly a fun and… enlightening evening 😂Thank you very much for your help!

---

_[View the full topic](https://meta.discourse.org/t/category-breaking-and-becoming-undeletable/178149)._
