# Hoe de lengte van bestaande fragmenten te wijzigen?

**URL:** https://meta.discourse.org/t/how-to-change-the-length-of-existing-excerpts/278722
**Category:** Support
**Created:** [9 februari 2022 om 13:12 UTC](https://meta.discourse.org/t/how-to-change-the-length-of-existing-excerpts/278722 "2022-02-09T13:12:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![JQ331](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@JQ331](https://meta.discourse.org/u/JQ331)
#### Post date: [9 februari 2022 om 13:12 UTC](https://meta.discourse.org/t/how-to-change-the-length-of-existing-excerpts/278722/1 "2022-02-09T13:12:55Z")

</div>

This is a great theme component. It seems to be the case that to adjust the length of the excerpts you adjust the “topic excerpt maxlength” setting in /admin/site\_settings… It also looks like if you change the length of the excerpt, it doesn’t change the excerpt shown for pre-existing topics, and if you want the change in length to apply to pre-existing topics, you need to make some kind of edit to those topics.

Is that right? Any way to have a change of excerpt length shown on the topics list apply to all topics, including pre-existing ones?

---

<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: [19 februari 2022 om 11:18 UTC](https://meta.discourse.org/t/how-to-change-the-length-of-existing-excerpts/278722/2 "2022-02-19T11:18:48Z")

</div>

> [@JQ331](#):
>
> Any way to have a change of excerpt length shown on the topics list apply to all topics, including pre-existing ones?

Yup - you just need to rebake the posts:

```plaintext
$ cd /var/discourse
$ ./launcher enter app
$ rake posts:rebake

```
