A paid Discourse user, yachun_li, accidentally deleted a category (“feature request”) without a prior backup and seeks urgent help restoring it — ideally with the same URL slug, since an app embeds that link. Canapin advises emailing team@discourse.org (though community help is also available) and clarifies that categories can’t be deleted unless empty; if content was deleted first, restoration requires Discourse’s support. Canapin also notes that restoring the exact category ID is unlikely, referencing a meta discussion. Kartoon suggests simply recreating the category with the same name if it was empty. pfaffman adds that the new category will have a different ID (the only part of the URL that matters), and recommends updating the app’s embedded link instead of relying on the old URL.
We are paid members of Discourse. I accidentally deleted a category, and since this is our first time using the platform, we didn’t make a backup beforehand. Is there any way to restore that category? Alternatively, if I can create a new category with the same URL slug as the original one, that would also work — because we have an app that embeds the link to that category.
You can email team@discourse.org in this case (though the community is also good to help), but I think they usually don’t work on weekends.
You can’t delete a category if you don’t delete the topics in it beforehand.
Either you deleted an empty category, in which case you can just re-create it, or you actually deleted the content before this, in which case you need help from the Discourse team and see if they can restore the lost content.