# הרס את כל הקישורים הקבועים

**URL:** <https://meta.discourse.org/t/destroy-all-permalinks/65532>\
**Category:** Sysadmins\
**Tags:** how-to\
**Created:** [3 ביולי,‏ 2017,‏ 5:34pm UTC](https://meta.discourse.org/t/destroy-all-permalinks/65532 "2017-07-03T17:34:57Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [3 ביולי,‏ 2017,‏ 5:34pm UTC](https://meta.discourse.org/t/destroy-all-permalinks/65532/1 "2017-07-03T17:34:57Z")

</div>

If you think that only search engines have links to your old URLs, the search engine databases have been updated, and you want to save as much as 20ms on every 404, you can do this:

```plaintext
cd /var/disourse/
./launcher enter app
rails c
Permalink.destroy_all
exit
exit

```

Thanks to @zogstrip for pointing out the obvious (once you know it)!

---

_[View the full topic](https://meta.discourse.org/t/destroy-all-permalinks/65532)._
