# How to regenerate FAQ and TOS pages?

**URL:** <https://meta.discourse.org/t/how-to-regenerate-faq-and-tos-pages/110625>\
**Category:** Product Support\
**Created:** [4 במרץ,‏ 2019,‏ 2:43pm UTC](https://meta.discourse.org/t/how-to-regenerate-faq-and-tos-pages/110625 "2019-03-04T14:43:15Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![SMx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/smx/32/83713_2.png) [@SMx](https://meta.discourse.org/u/SMx)\
**Post date:** [7 במרץ,‏ 2019,‏ 3:21pm UTC](https://meta.discourse.org/t/how-to-regenerate-faq-and-tos-pages/110625/5 "2019-03-07T15:21:04Z")

</div>

> [@gerhard](#):
>
> Topic.with\_deleted.exists?(SiteSetting.tos\_topic\_id)

```
[1] pry(main)&gt; **Topic**.with_deleted.exists?( **SiteSetting**.guidelines_topic_id)
=&gt; **false**
[2] pry(main)&gt; **Topic**.with_deleted.exists?( **SiteSetting**.tos_topic_id)
=&gt; **false**
[3] pry(main)&gt;

```

They were indeed missing as suspected.

Thank you so much. It worked like a charm.

---

_[View the full topic](https://meta.discourse.org/t/how-to-regenerate-faq-and-tos-pages/110625)._
