---
title: Enabling bad words filtering
related:
  - https://docs.kentico.com/k9/community-features/bad-words/defining-bad-words.md
  - https://docs.kentico.com/k9/community-features/bad-words/handling-bad-words.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

To enable the Bad words functionality, go to **Settings -> Security & Membership -> Protection** and enable **Check bad words**.

On this page, you can also define the default action that will be assigned to newly created bad words. Bad words with the _Use default settings_ option enabled (see [Defining bad words](https://docs.kentico.com/k9/community-features/bad-words/defining-bad-words.md) for more details) will use this setting. You can select the default action in the **Bad word action** setting.

The default replacement string can be entered into the **Bad word replacement** field. The replacement text will be used when a bad word is detected and the following conditions are met:

- The _**Replace**_ action is selected in **Bad word action** in **Settings -> Security & Membership -> Protection**.
- The particular bad word has _**Use default settings**_ enabled for the **Replace with** field in **Bad words -> Edit () _bad word_ -> General**.
