Can't access newly made catagory due to "special" letter

AI-generated summary

Rina_Fallingstar created a new category using the special character ‘š’ in its URL slug, which caused the category page to fail to load — though the category appeared in the list and its first topic was accessible. Rina_Fallingstar sought to either delete the category or remove the special letter. simon advised changing the site’s “slug generation method” setting to “encoded,” which allows non-ASCII characters like ‘š’ in URLs. After applying this fix, Rina_Fallingstar confirmed the category became accessible again. simon also noted that Discourse should validate the Category Slug field to prevent such errors in the future, and suggested that if non-ASCII characters are not desired in URLs, the slug can be manually edited and the setting reverted to “ascii.”

I’ve just made a new catagory and for the direct “url” I gave a special letter “š”. As soon as I pressed created I remembered I shouldn’t have done that. But it was already done.


This is the error I got after.

But when I returned to discourse the catagory was there.
When I click on it, the page does not load. I can access it’s first topic, that makes itself. But not the catagory itself. I wish to delete it or at least remove the special letter.

You can fix the problem by changing your site’s slug generation method setting to encoded.

After you do that you should be able to access the category again. If you would like to allow non ascii characters like š to be used in URL slugs for your site, keep the slug generation method set to encoded. If you would not like to have non ascii characters in your URLs, edit the category’s slug and then change the slug generation method back to its default value of ascii.

Discourse should probably be validating the Category Slug field to prevent this error from happening.

Thank you very much. That did the trick.