# 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:** 3

<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:** [4 במרץ,‏ 2019,‏ 3:42pm UTC](https://meta.discourse.org/t/how-to-regenerate-faq-and-tos-pages/110625/3 "2019-03-04T15:42:50Z")

</div>

Thank you so much @gerhard. Very helpful as always.  
As soon as I get at a computer I’ll check this out.

We had a failed migration and wanted to keep discourse settings while deleting the migrated topics/categories. And because we had a “trash” folder with about 70k topics of trash, all written by “system”, we had to forcefully clear from the DB all topics created.

Is this the command for the “/privacy” page?

`SiteSetting.privacy_topic_id = 4712 # replace with topic id`

Thank you.

---

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