---
title: Assigning pages to categories
related:
  - https://docs.kentico.com/13/configuring-xperience/configuring-the-environment-for-content-editors/configuring-categories.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).

Categorizing allows you to distinguish and group together pages on your website, for example based on their topic. You can create a hierarchy of categories, and then use it to map pages to topics or other taxonomical groups.

The purpose of categories depends on your website's implementation. Developers can use categories for page filtering and faceting (for example in searches), or to create other navigation options that allow visitors to move between pages with a related topic.

There are up to 3 types of categories that you can create and work with (depending on how administrators configured the system):

- **Personal categories** – these categories belong to a specific user only, however, you can use them across all available sites.
- **Global categories** – these can be used across all available sites.
- **Site-specific categories** – these can be used only on the site on which you created them.

> **Info:** **Note**: To learn about other possible ways of categorizing pages, see [Categorizing pages](https://docs.kentico.com/13/managing-website-content/working-with-pages/categorizing-pages.md).

## Creating categories

### Global and site

1. Open the **Categories** application.
2. (Optional) If you want to create the new category as a subcategory, click on an existing category in the panel to the left.\
   **Note**: You cannot create global categories under site categories.

   ![Selecting a site category](https://docs.kentico.com/docsassets/13/assigning-pages-to-categories/selecting_category.png "Selecting a site category")
3. Click **New category** ().
4. (Optional) Unless you are creating the category under an existing _Site category_ category, you can choose whether you want your category to be a _Site category_ or a _Global category_.
5. Fill in the details of the new category.
6. Click **Save**.

The system creates the new category. You can now [assign pages](#assigning-pages-to-categories) to the category.

### Personal

1. Open the **My profile** application.
2. Switch to the **Categories** tab.
3. (Optional) If you want to create the new category as a subcategory, click on an existing category in the panel to the left.

   ![Selecting a personal category](https://docs.kentico.com/docsassets/13/assigning-pages-to-categories/personal_category.png "Selecting a personal category")
4. Click **New category** ().
5. Fill in the details of the new category.
6. Click **Save**.

The system creates the new category. You can now [assign pages](#assigning-pages-to-categories) to the category.

## Assigning pages to categories

Depending on how your administrator configured the system, you can use two different approaches to categorize pages:

- [On the Properties tab](#properties-tab)
- [Through page fields on the Content tab](#content-tab)

### Properties tab

1. Open the **Pages** application.
2. Select the page that you want to categorize.
3. Switch to the **Properties -> Categories** tab. If the page is already assigned into any categories, you can see them listed.

   ![Page assigned to categories](https://docs.kentico.com/docsassets/13/assigning-pages-to-categories/page_assigned_to_category.png "Page assigned to categories")
4. Click **Add categories**. The **Select categories** dialog opens.

   ![Assigning pages to a new category](https://docs.kentico.com/docsassets/13/assigning-pages-to-categories/selecting_a_category.png "Assigning pages to a new category")
5. Select the checkboxes next to the categories to which you want to assign the page.

   > **Tip:** If the required category does not exist, you can create it directly in the dialog:
   >
   > 1. Select the category under which you want to place the new category.
   > 2. Click **New**.
   > 3. Fill in the details of the new category.
   > 4. Click **OK**. You have created a new category and can now assign the page to the category.
6. Click **Save & Close**.

The system assigns the page to the selected categories.

### Content tab

1. Open the **Pages** application.
2. Select the page that you want to categorize.
3. Switch to the **Content** tab and find the field used to manage categories. If the page is already assigned into any categories, you can see them listed.

   ![Assigning categories on the form tab](https://docs.kentico.com/docsassets/13/assigning-pages-to-categories/assigning_category_on_form_tab.png "Assigning categories on the form tab")
4. Click the **Add categories** button. The **Select categories** dialog opens.

   ![Assigning pages to a new category](https://docs.kentico.com/docsassets/13/assigning-pages-to-categories/selecting_a_category.png "Assigning pages to a new category")
5. Select the checkboxes next to the categories to which you want to assign the page.

   > **Tip:** If the required category does not exist, you can create it directly in the dialog.
6. Click **Save & Close**.
7. Back on the **Content** tab, click **Save** to confirm the changes.

The system assigns the page to the selected categories.

### Automatic selection of categories

To make the assignment of the page into categories easier, you can automatically select the best fitting global and site categories for the page using [Azure OpenAI](https://azure.microsoft.com/en-us/products/ai-services/openai-service).

> **Note:** **Prerequisites**
>
> 1. You need to have the [Xperience Azure OpenAI integration](https://github.com/Kentico/xperience-module-openai-azure) installed.
> 2. The page you are assigning into categories must have at least some data stored in fields with **Text** or **LongText** data types. That is, the automatic selection doesn't work for pages that are built entirely via [Page builder](https://docs.kentico.com/13/developing-websites/page-builder-development.md) .

To automatically select categories for the page, click the **Auto-Select** button in the **Select categories** dialog.

![Auto-select categories](https://docs.kentico.com/docsassets/13/assigning-pages-to-categories/auto_select.png "Auto-select categories")

> **Info:** **Note:** The automatic selection disregards all preexisting category assignments. Consequently, using the **Auto-Select** on manually categorized pages may suggest a different set of categories for the page. You can always add any desired categories manually on top of the automatic selection.

## Allowing specific page types within categories

To filter out irrelevant categories when [assigning pages](#assigning-pages-to-categories) to global and site categories, you can allow only specific [page types](https://docs.kentico.com/13/developing-websites/defining-website-content-structure/managing-page-types.md) to be assignable to a given category:

1. Open the **Categories** application.
2. Select the category you want to scope page types for.
3. Switch to the **Allowed page types** tab.

   ![Allowed page types tab](https://docs.kentico.com/docsassets/13/assigning-pages-to-categories/allowed_page_types.png "Allowed page types tab")
4. Select **Allowed only for the following page types** and **Add page types**. The **Select page types** dialog opens.
5. Select the page types you want to be assignable to the category.
6. Click **Save**.

Now, when assigning a page into categories, the **Select categories** dialog displays only categories allowed for the given page type.

## Viewing pages in categories

The administration interface allows users to view which pages are assigned to any type of categories (site-wide or global, as well as personal categories).

1. Depending on the type of the category whose pages you want to view:
   - For global and site categories – Open the **Categories** application.
   - For personal categories – Open the **My profile** application and switch to the **Categories** tab.
2. Click on the category.

   ![Content tree in Categories](https://docs.kentico.com/docsassets/13/assigning-pages-to-categories/selecting_category.png "Content tree in Categories")
3. Switch to the **Pages** tab.

   ![The Pages tab in Categories](https://docs.kentico.com/docsassets/13/assigning-pages-to-categories/pages_assigned_to_category.png "The Pages tab in Categories")

The system lists the pages assigned to the category. You can click the **Edit** () action to switch to the given page in the _Pages_ application, or **Navigate to a page** () to open the live site.
