# Increase the max post length setting above 150k

**URL:** https://meta.discourse.org/t/increase-the-max-post-length-setting-above-150k/269069
**Category:** Development
**Created:** [June 20, 2023, 6:32pm UTC](https://meta.discourse.org/t/increase-the-max-post-length-setting-above-150k/269069 "2023-06-20T18:32:45Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![salbertelli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/salbertelli/32/256625_2.png) [@salbertelli](https://meta.discourse.org/u/salbertelli)
#### Post date: [June 20, 2023, 6:32pm UTC](https://meta.discourse.org/t/increase-the-max-post-length-setting-above-150k/269069/1 "2023-06-20T18:32:45Z")

</div>

Hello, we are using Discourse v3.0.3 and have the `max_post_length` is set to the default maximum value of 150,000 characters. However, several of our technical experts who provide solution responses from the field are encountering error messages that exceed the 150k limit.

If I try to increase the settings, I get the following error:

> `max_post_length: Value must be between 0 and 150000.`

This issue has become problematic for us as the content relies heavily on interlinked parts with anchors. Splitting the content into multiple posts would require significant time and effort to rearrange everything accordingly. Moreover, it would negatively impact on the UX if readers have to navigate between multiple posts to access the complete information.

Is there a way to increase the value or disable it altogether?

TIA!

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [June 20, 2023, 6:48pm UTC](https://meta.discourse.org/t/increase-the-max-post-length-setting-above-150k/269069/2 "2023-06-20T18:48:32Z")

</div>

hi @salbertelli  
i think you need to use this

> [@Increase the max post length setting](https://meta.discourse.org/t/increase-the-max-post-length-setting/159974/2):
>
> If you want to increase the limit you’ll need to use a plugin. [GitHub - jomaxro/discourse-plugin-site-setting-override](https://github.com/jomaxro/discourse-plugin-site-setting-override)

---

<div class="post-metadata">

### Author: ![salbertelli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/salbertelli/32/256625_2.png) [@salbertelli](https://meta.discourse.org/u/salbertelli)
#### Post date: [June 20, 2023, 8:35pm UTC](https://meta.discourse.org/t/increase-the-max-post-length-setting-above-150k/269069/3 "2023-06-20T20:35:58Z")

</div>

Hi @Lilly,

Thank you for your response. It seems that the plugin you mentioned may have already been integrated into the core system. Unfortunately, the plugin only increases the max post length to the default value of 150,000, which is already the maximum limit for the version of Discourse we’re currently using.

However, my goal is to exceed the default limit of 150,000 characters.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [June 20, 2023, 8:41pm UTC](https://meta.discourse.org/t/increase-the-max-post-length-setting-above-150k/269069/4 "2023-06-20T20:41:00Z")

</div>

ah yes i see that now in the yml file.

i’m suspect there is a way to go higher, but i think exceeding the maximum post length may potentially cause performance issues. i hope you can find a workable solution or someone else can give you some insight and help. 🙂

---

<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: [June 20, 2023, 10:09pm UTC](https://meta.discourse.org/t/increase-the-max-post-length-setting-above-150k/269069/5 "2023-06-20T22:09:25Z")

</div>

> [@salbertelli](#):
>
> However, my goal is to exceed the default limit of 150,000 characters.

Then

> [@](#):
>
> To override other settings, fork this plugin and modify `config/settings.yml` . Discourse site settings are located at [discourse/config/site\_settings.yml at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/config/site_settings.yml).

You’ll fork the plugin and change `site_settings.yml` as described.

---

<div class="post-metadata">

### Author: ![salbertelli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/salbertelli/32/256625_2.png) [@salbertelli](https://meta.discourse.org/u/salbertelli)
#### Post date: [June 21, 2023, 5:31pm UTC](https://meta.discourse.org/t/increase-the-max-post-length-setting-above-150k/269069/6 "2023-06-21T17:31:22Z")

</div>

Hi Jay,

That’s great news! Thanks so much for the insight. It seems that the next step is for me to fork the same plugin from the repository [GitHub - jomaxro/discourse-plugin-site-setting-override · GitHub](https://github.com/jomaxro/discourse-plugin-site-setting-override) and make the necessary modifications in the `site_settings.yml` file.

Thanks again! I’m eager to give this a try. 🙂

---

<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: [June 21, 2023, 6:18pm UTC](https://meta.discourse.org/t/increase-the-max-post-length-setting-above-150k/269069/7 "2023-06-21T18:18:02Z")

</div>

RIght! You’ll literally change only 1-3 characters in the file!
