---
title: "How does the “Contains” and “Does not contain” rule work?"
description: "Learn how URL rules control what gets tagged automatically."
url: https://help.knotch.com/en/articles/71-how-does-the-contains-and-does-not-contain-rule-work
collection: "Tags"
updated: 2025-06-16
language: en
---

# How does the “Contains” and “Does not contain” rule work?

Learn how URL rules control what gets tagged automatically.

-   **Contains:** Tags any page with a URL that includes the specified text
    
-   **Does not contain:** Tags only pages that don’t include that text
    

📌 Example: A rule that says **Contains "/blog"** will tag any page with "/blog" in its URL.
