# Les URL alternatives de Paramètres/Juridique sont ignorées après la mise à jour

**URL:** https://meta.discourse.org/t/settings-legal-alternative-urls-are-being-ignored-after-update/199214
**Category:** Bug
**Created:** [Août 5, 2021, 3:17 UTC](https://meta.discourse.org/t/settings-legal-alternative-urls-are-being-ignored-after-update/199214 "2021-08-05T03:17:45Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [Décembre 28, 2021, 8:46 UTC](https://meta.discourse.org/t/settings-legal-alternative-urls-are-being-ignored-after-update/199214/10 "2021-12-28T20:46:46Z")

</div>

> [@Paul\_King](#):
>
> Je devrai me mettre suffisamment à jour avec Rails pour m’attaquer à cette suggestion.

Comment ça s’est passé, Paul ? Je me souviens que c’était un problème pour toi il y a longtemps.

Je viens de devoir faire cela moi-même après avoir accidentellement utilisé `delete_all` dans le sujet FAQ/Lignes directrices et ne l’avoir découvert que bien plus tard. Ce post m’a été d’une grande aide :

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

Je serais heureux de t’aider si tu as besoin d’un coup de main.

---

_[View the full topic](https://meta.discourse.org/t/settings-legal-alternative-urls-are-being-ignored-after-update/199214)._
