# Mass close topics?

**URL:** https://meta.discourse.org/t/mass-close-topics/65831
**Category:** Support
**Created:** [July 7, 2017, 8:16pm UTC](https://meta.discourse.org/t/mass-close-topics/65831 "2017-07-07T20:16:30Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [July 8, 2017, 9:21am UTC](https://meta.discourse.org/t/mass-close-topics/65831/4 "2017-07-08T09:21:09Z")

</div>

See here

> [@Auto-close old topics from a migrated forum](https://meta.discourse.org/t/auto-close-old-topics-from-a-migrated-forum/25448/10):
>
> I would SSH into the server and then cd /var/discourse ./launcher enter app rails c Topic.where(closed: false).where("created\_at \< '2015-01-01'").find\_each do |topic| topic.update\_status("closed", true, Discourse.system\_user) end And you should have all the topics created before January 1st 2015 closed wink

PS: In support requests you should be a bit more specific

---

_[View the full topic](https://meta.discourse.org/t/mass-close-topics/65831)._
