# 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:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![illusionandcards](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/illusionandcards/32/306500_2.png) [@illusionandcards](https://meta.discourse.org/u/illusionandcards)
#### Post date: [May 24, 2023, 10:46am UTC](https://meta.discourse.org/t/restore-guidelines/266040/1 "2023-05-24T10:46:31Z")

</div>

Hello,

I accidentally deleted the “Guidelines” post and now it doesn’t work when you press the “Guidelines” link under “About”.

How can I restore it or assign a different post for this link?

Thanks.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [May 24, 2023, 11:44am UTC](https://meta.discourse.org/t/restore-guidelines/266040/2 "2023-05-24T11:44:35Z")

</div>

Good question.  
I have no “Guidelines” in the About page, but let’s assume you meant FAQ. 🙂

I don’t know any fast way to recover a deleted topic as they don’t appear in topic lists, as opposed to posts.

But they are auto-generated when a new Discourse instance is created. They may share the same ID on every Discourse instance unless the FAQ URL was manually changed.

Try opening `https://yourforum.com/t/5` and see if it opens the deleted FAQ topic.

* * *

If you want to link FAQ to a new, arbitrary URL, you can look for the **faq url** site setting 🙂

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [May 24, 2023, 12:01pm UTC](https://meta.discourse.org/t/restore-guidelines/266040/4 "2023-05-24T12:01:33Z")

</div>

it may be in deleted topics list `https://your_forum/latest?status=deleted`

i wonder if running the setup wizard again would generate a new one? 🤔

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [May 24, 2023, 12:24pm UTC](https://meta.discourse.org/t/restore-guidelines/266040/8 "2023-05-24T12:24:08Z")

</div>

> [@illusionandcards](#):
>
> I accidentally deleted the “Guidelines” post

Out of curiosity, and if you’re talking about the FAQ as I think, how did you “accidentally” delete the topic? Automatically generated topics like this one can’t be deleted from the interface.

We’d be glad to hear more about your context, so it can be helpful for others in the future 🙂

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [May 24, 2023, 12:32pm UTC](https://meta.discourse.org/t/restore-guidelines/266040/9 "2023-05-24T12:32:44Z")

</div>

it’s the Guidelines link on the About page. i just looked and it’s missing. that may be an added page somewhere because i don’t recall that link to an actual guidelines doc ever being there. some forums call the FAQ guidelines so at first i thought there may be a translation issue.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [May 24, 2023, 12:53pm UTC](https://meta.discourse.org/t/restore-guidelines/266040/10 "2023-05-24T12:53:18Z")

</div>

Hello again. Based on your profile’s URL field: [Posts](https://club.magiaycardistry.com/about)

The page you’re talking about is `https://club.magiaycardistry.com/guidelines` which has a specific URL.

We need to need more about this page to be able to fix your issue. How was it created? Was it a Discourse topic?

---

<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 24, 2023, 1:07pm UTC](https://meta.discourse.org/t/restore-guidelines/266040/11 "2023-05-24T13:07:37Z")

</div>

FWIW You get that added page when you add an URL to the `faq url` admin setting:

 ![faq url](https://global.discourse-cdn.com/meta/original/4X/7/f/e/7fe676dac69b4a92b24fa384e37e96dc4252b107.png)

 ![guidelines/faq](https://global.discourse-cdn.com/meta/original/4X/3/8/0/380fb032c1eefc7d1d4fb608e20e6f895b70789d.png)

The ‘Guidelines’ in green goes to the regular FAQ topic, and the ‘FAQ’ in blue goes to the link you placed in the `faq url` setting.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [May 24, 2023, 1:08pm UTC](https://meta.discourse.org/t/restore-guidelines/266040/12 "2023-05-24T13:08:37Z")

</div>

> [@JammyDodger](#):
>
> The ‘Guidelines’ in green goes to the regular FAQ topic, and the ‘FAQ’ in blue goes to the link you placed in the `faq url` setting.

ok well i learned something today and also that is confusing.

---

<div class="post-metadata">

### Author: ![illusionandcards](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/illusionandcards/32/306500_2.png) [@illusionandcards](https://meta.discourse.org/u/illusionandcards)
#### Post date: [May 24, 2023, 7:19pm UTC](https://meta.discourse.org/t/restore-guidelines/266040/13 "2023-05-24T19:19:21Z")

</div>

Yes! @JammyDodger I think I did that, because I wanted to use a forum subcategory as “FAQ” ([Posts](https://club.magiaycardistry.com/c/oficial/faq/13)).

That probably created the “Guidelines” link, which is very useful. I think it was created in the “staff” category. However I deleted that post and I would like to recover it if possible.

So, I am trying to recover the regular “FAQ” post.

I am new to Discourse and I made the mistake of deleting all the default post that were created because I thought people could see them.

Thanks

---

<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…
