# Auto-close old topics from a migrated forum

**URL:** <https://meta.discourse.org/t/auto-close-old-topics-from-a-migrated-forum/25448>\
**Category:** Migration\
**Tags:** rails-console\
**Created:** [Février 20, 2015, 1:46 UTC](https://meta.discourse.org/t/auto-close-old-topics-from-a-migrated-forum/25448 "2015-02-20T13:46:35Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![rodrigofarcas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rodrigofarcas/32/69085_2.png) [@rodrigofarcas](https://meta.discourse.org/u/rodrigofarcas)\
**Post date:** [Février 20, 2015, 1:46 UTC](https://meta.discourse.org/t/auto-close-old-topics-from-a-migrated-forum/25448/1 "2015-02-20T13:46:35Z")

</div>

We migrated to Discourse from another forum software, and I want to close a batch of old topics at once.

I’ve tried using the forum setting for auto-close:

> **[2015-02-20\_1043](https://app.screencast.com/LsF3MSal6hlBa)**
>
> World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.

But this seems not to be affecting migrated old topics, as they are still open. How can I achieve this? (want to close all topics which are older than 720 hours=30 days)

Thanks

---

_[View the full topic](https://meta.discourse.org/t/auto-close-old-topics-from-a-migrated-forum/25448)._
