# Restore "Guidelines"

**URL:** https://meta.discourse.org/t/restore-guidelines/266040
**Category:** Support
**Created:** [May 24, 2023, 10:46am UTC](https://meta.discourse.org/t/restore-guidelines/266040 "2023-05-24T10:46:31Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [May 25, 2023, 7:00am UTC](https://meta.discourse.org/t/restore-guidelines/266040/14 "2023-05-25T07:00:48Z")

</div>

Theoretically you shouldn’t be able to delete those through the UI, but I think there’s some useful info in this post that may help:

> [@How to regenerate FAQ and TOS pages?](https://meta.discourse.org/t/how-to-regenerate-faq-and-tos-pages/110625/2):
>
> Interesting. How did you manage to delete those topics? You shouldn’t be allowed to delete them in the UI. First, let’s see if the topics are really gone. ./launcher enter app rails c Topic.with\_deleted.exists?(SiteSetting.guidelines\_topic\_id) Topic.with\_deleted.exists?(SiteSetting.tos\_topic\_id) If the topics are really gone, create two new topics in the Staff category and assign the topic ids in the rails console to the site settings. SiteSetting.guidelines\_topic\_id = 4711 # replace with t…

---

_[View the full topic](https://meta.discourse.org/t/restore-guidelines/266040)._
