# Is there a way in Umbraco 17 to stop Unpublish an Item if it linked to another page

**URL:** <https://forum.umbraco.com/t/is-there-a-way-in-umbraco-17-to-stop-unpublish-an-item-if-it-linked-to-another-page/8586>\
**Category:** Questions\
**Created:** [September 25, 2026, 12:58pm UTC](https://forum.umbraco.com/t/is-there-a-way-in-umbraco-17-to-stop-unpublish-an-item-if-it-linked-to-another-page/8586 "2026-09-25T12:58:05Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![dawoe](https://forum.umbraco.com/user_avatar/forum.umbraco.com/dawoe/32/233_2.png) [@dawoe](https://forum.umbraco.com/u/dawoe)\
**Post date:** [September 28, 2026, 11:05am UTC](https://forum.umbraco.com/t/is-there-a-way-in-umbraco-17-to-stop-unpublish-an-item-if-it-linked-to-another-page/8586/7 "2026-09-28T11:05:59Z")

</div>

There are actually 2 appSettings for just this :

> **[Disable delete when referenced - Content Settings | CMS | Umbraco Documentation](https://docs.umbraco.com/umbraco-cms/develop-with-umbraco/configuration/contentsettings#disable-delete-when-referenced)**
>
> Content settings contains a handful of settings related to the content in the CMS. It includes settings such as allowed upload files, image settings, and much more. All the values in the content settings has default values, so all configuration is...

```auto
"Umbraco": {
  "CMS": {
    "Content": {
      "DisableDeleteWhenReferenced": false,
      "DisableUnpublishWhenReferenced": false      
    }
  }
}

```

---

_[View the full topic](https://forum.umbraco.com/t/is-there-a-way-in-umbraco-17-to-stop-unpublish-an-item-if-it-linked-to-another-page/8586)._
