# CMS: Creating Dynamic Pages that List Items by Category

Source: https://support.wix.com/en/article/cms-creating-dynamic-pages-that-list-items-by-category-2254237 (updated 2026-11-12)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

> **Important:** We've released a more streamlined approach to creating dynamic category pages. We highly recommend this newer method for most setups. Use Wix's built-in [category collections](https://support.wix.com/en/article/cms-using-category-collections-to-organize-your-content) and the 'Category' field type to create purpose-built [category pages](https://support.wix.com/en/article/cms-creating-dynamic-category-pages) with automatic URL generation, two-way sync between categories and items, and primary category support for SEO.

Organize your CMS (Content Management System) collection items by category on your website with dynamic pages. You can create a dynamic 'category' page with a different version for each category. In each version, visitors view a list of the items within the category and can click to view the specific items. 

  
 For example, let's say you're a book blogger with reviews for many different genres like mystery, romance, and fantasy. By setting up dynamic pages for each genre, your book-loving visitors can easily navigate to the reviews they are interested in, improving their experience.

  
 This guide will show you how to establish dynamic pages for each category, adjust URL structures, personalize your pages, and, if desired, create an overarching dynamic page that displays all your categories.

> **Note:** Dynamic pages that list items by category aren't available in the Wix Harmony Editor. To show items by category, add a 'Text' field with the category name to your collection. Then add a page for each category, with a repeater filtered by that field. You can [vote for displaying items by category in Wix Harmony](https://support.wix.com/en/article/wix-harmony-editor-feature-request-creating-category-collections-2).

> **Before you begin:**
>
> * Make sure you have a [CMS collection](https://support.wix.com/en/article/cms-formerly-content-manager-creating-a-collection) with items that you want to categorize.
> * Make sure you've created a [dynamic item page](https://support.wix.com/en/article/cms-setting-up-a-dynamic-item-page) for your collection. You will add a dynamic link to this page from your dynamic 'category' page so visitors can click to view details about a particular item.

---

## Step 1 | Add a field for categorizing your collection items

To display different categories of items on your site, your collection needs a field that defines which category each item belongs to. Add or choose a 'category' field in your collection, then enter values in the field to categorize each item.

### To add a 'category' field to your collection:

1. [Go to CMS](https://www.wix.com/my-account/site-selector/?buttonText=Go%20to%20CMS&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https://www.wix.com/dashboard/%7B%7BmetaSiteId%7D%7D/database/) in your site's dashboard. Alternatively, you can click **CMS** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/07/18/c6258392-fdef-4a6b-8b85-1149e3260153/ab886b0a-e79c-4664-bea2-56ac47af29cb.png) in your editor, then click **Your Collections**.
2. Click the relevant collection.
3. Click **Manage Fields**.
4. Click **+ Add Field**, choose the **Text** or **Number** field type and click **Choose Field Type**.
5. Enter the **Field name** (e.g. Category).
6. (Optional for Velo only) Update the **Field ID**, which is used in the site's code. You cannot update this ID later.
7. (Optional) Enter **Help text** that will appear in your collection view as a tooltip next to the field name.
8. (Optional) Click the **Validations** tab to make this a required field, limit the character count, or accept specific values only. Learn more about [adding field validations](https://support.wix.com/en/article/cms-setting-field-validations-in-your-collections).
9. (Optional) Click the **Default value** tab to add text that gets added to the field automatically for each new item in the collection. Learn more about [adding default values to fields](https://support.wix.com/en/article/cms-adding-default-values-to-fields-in-your-collections).
10. Click **Save**.

![A screenshot of saving a new field that will be used to categorize collection items.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/12/0498eab1-5252-4f4d-adc3-11031dee6c82/7876474d-eeca-47d3-8a12-8ceac3a85e34.png)

1. Enter the name of the category that each item belongs to in your new 'category' field. Make sure to spell, capitalize, and use the same number of spaces for each unique category.

![A screenshot of a category collection field with values for each item.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/12/58567d41-a724-44bf-b596-0dd71c160780/401a7375-e8f7-409a-9a0f-5ef965d4e934.png)

---

## Step 2 | Add a dynamic page that lists items per category

Create a new dynamic list page for your collection. Later, this dynamic page will serve as a template with different versions for each category. Each version will only show items that belong to its category.

**Wix Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Click **CMS** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/f0656688-8ed1-488a-888d-62373b7c3a3c/2021/07/13/be1f7f18-9356-4c33-b010-192982c912e9/59fd7aba-c990-4d61-ab3d-ad7d2e1cce16.png) on the left side of the editor.
3. Click **Your Collections**.
4. Hover over the relevant collection and click the **More Actions** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/03/08/bead55a7-9f6e-4c81-83e4-d52f3eeff831/c54494c6-0c5b-47f1-b246-9c06e5ce10e9.png).
5. Click **Add dynamic page**.

![A screenshot of adding a dynamic page for a collection.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/12/6c9a6421-f579-4a93-b5e0-547fd3e78394/47a8f771-a88b-4ef1-99f8-348d60140103.png)

1. Select **List page** and click **Add to Site**.

**Studio Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Click **CMS** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/07/18/c6258392-fdef-4a6b-8b85-1149e3260153/ab886b0a-e79c-4664-bea2-56ac47af29cb.png)on the left side of the editor.
3. Click **Your Collections**.
4. Hover over the relevant collection and click the **More Actions** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/03/08/e1d55a89-5143-416b-a6be-71717695be14/ea1c1b2c-ccfe-41ad-ba9d-4ce9b57b0cfc.png).
5. Click **Add dynamic page**.

![A screenshot of adding a dynamic page in the Studio Editor.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/03/08/e0a8cb19-9d0e-491e-8ddc-2b2c4e9b18f9/f514b429-677d-4049-b623-ff58750a58a3.png)

1. Select **List page** and click **Add to Site**.

---

## Step 3 | Modify the URL slug structures

You need to convert your new dynamic list page to a type of dynamic item page that lists items per category. To do so, edit the page's URL slug structure. Make sure to add your 'category' field as a variable and to keep the slug structure unique to your site.

> **Important:** If you change the URL slug structure of your dynamic pages, all the existing links to these pages will no longer work. This affects links within your site, any links you've shared externally, and SEO links in search engines. We're releasing [a feature that will let you add an automatic redirect](https://support.wix.com/en/article/cms-creating-unique-dynamic-page-urls#editing-url-slugs-for-specific-dynamic-item-pages), taking visitors and search engines from the old URL to the new one.

### Unique URL slug structure

The URL slug structure cannot already be used by other existing pages on your site. To be [unique](https://support.wix.com/en/article/cms-creating-unique-dynamic-page-urls), the URL slug structure **cannot have the same prefix** (e.g. {Collection name}) **and the same number of variables** as another page on your site, even if the variables are different. 

  
 The CMS will not allow you to save changes to the URL slug structure if it conflicts with an existing one. This is why you may want to [alter the URL slug structures](https://support.wix.com/en/article/cms-creating-unique-dynamic-page-urls) of your collection's other dynamic pages.

**Show me an example of conflicting URL slug structures that cannot be used**

In the example image below, the URL slug structures conflict with each other because they share the same prefix and have the same number of variables: 

* **felines/{origin}**
* **felines/{category}**

![A screenshot of the error message that appears if you try to create conflicting URL slug structures.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/30/679b4f04-0cd4-489d-825c-bb9171f63b26/54f96efe-76f4-456f-bb6e-bc5c78cba6ca.png) 

 Even though technically, the web addresses generated could be unique for each page, the total number of variables after the shared prefix causes the slug structures to conflict. 

  
 When editing the URL slug structure, make sure it does not have the same prefix and number of variables as another slug structure used on your site.

### What converts the dynamic list page to a dynamic item page?

When you create any dynamic page, a Page Link field is added to your collection. The Page Link field generates the actual URL slug values for each item in your collection based on the URL slug structure of the dynamic page. 

  
 Editing the dynamic page's URL slug structure causes the Page Link field values to adjust accordingly. If multiple items in your collection have the same Page Link value (URL slug), the CMS determines that these items should share the same page. So, the dynamic page is turned into a dynamic item page with a different version for each unique Page Link value (URL slug).

**Show me an example of duplicate Page Link field values in a collection**

In the example collection below, a dynamic list page was turned into a dynamic item page that includes a version for each unique Page Link field (URL slug). 

  
![A screenshot of a collection with Page Link fields and a Category field used in the slug.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/30/7b395cd0-5a7c-4846-b1d6-d8b2b3b1b3c2/07d67087-d18a-4fb0-814f-f7c44d51a4d5.png) 

 In the URL slug structure of a dynamic list page, renamed **Felines (Item) (Category)**, the **Category** field variable was added. Since multiple items have the same value (URL slug) in their **Felines (Item) (Category)** Page Link field, the dynamic list page was converted to a dynamic item page with a version for each unique URL slug.

  
 As a result, this dynamic 'category' page has the following versions:

* **felines/medium** The version of the dynamic page using this URL slug shows 3 items because 3 of the items share this Page Link field value (URL slug).
* **felines/large** The version of the dynamic page at this URL shows 2 items because 2 of the items share this Page Link field value (URL slug).

> **Creating dynamic 'category' pages from combined field variables:** You can create dynamic 'category' pages with versions for each unique combination of field values. If you add multiple field variables to the URL slug structure of a dynamic page, the values are combined in the Page Link field. If this field is the same for multiple items, the dynamic page is converted to a dynamic item page with versions for each unique Page Link value (URL slug).

### Example URL slug structures you can create

You can use any text or number fields as variable in your dynamic pages' URL slug structures. For example, you could create the following URL slug structures for your dynamic pages:

* **Dynamic item page:** https://www.{your-domain.com}/{collection-name}/{category}/{primary-field}
* **Dynamic category page:** https://www.{your-domain.com}/{collection-name}/{category}
* **Dynamic list page:** https://www.{your-domain.com}/{collection-name}

### To edit the URL slug structures of your dynamic pages:

**Wix Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Click **Pages & Menu**![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8769cf44-f342-494c-b25f-cc98c9da3e82/2021/07/20/1d8a73cd-0857-43f0-9d91-a22c864050f5/1ad41258-c890-4de2-8293-027425a3800e.png)on the left side of the editor.
3. Click **Dynamic Pages**.
4. Edit the URL slug structures of the dynamic pages that connect to your collection. Click the relevant dynamic page type below for directions:

**Dynamic item page (used to display individual items)**

If necessary, you can edit the URL slug structure of your collection's dynamic item page, used to show details about individual items. Keep in mind that changing the URL slug structure of your existing dynamic pages will cause the existing links to these pages to no longer work. This affects links within your site, any links you've shared externally, and SEO links in search engines. 

  
**To edit the URL slug structure of your dynamic item page used to display individual items:** 

1. Hover over the dynamic item page, click the **More Actions** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/15/baaf46c6-e78c-479c-8ed4-44af4e7097f5/a17b3d40-b6df-4314-b302-fe61a594a917.png) and select **SEO**.
2. Edit the **URL slug structure** field and press **Enter** on your keyboard. For example, you could use the following slug structure for your dynamic item page: **{collection-name}/{category}/{primary-field}**  
 **Tip:** Click **Add Variable** to add a collection field to the URL that will dynamically adjust based on the item displayed on the page.

![A screenshot of the SEO settings for a dynamic item page with Category and Breed Name in the URL slug.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/26/060cf02c-80a8-4f8f-bc5d-ab29ecf37a56/c72c467a-1b36-4683-aa4b-3ddcf2b9a0b7.png)

**Dynamic page (that will display items per category)**

Convert your dynamic list page into a dynamic page with different versions for each category. To do so, edit the URL slug structure so it remains unique to your site and includes your 'category' field as a variable. 

  
**To edit the URL slug structure of your dynamic 'category' page:** 

1. Hover over the dynamic list page, click the **More Actions** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/15/baaf46c6-e78c-479c-8ed4-44af4e7097f5/a17b3d40-b6df-4314-b302-fe61a594a917.png) and select **SEO**.
2. Edit the **URL slug structure** so it includes your 'category' field and does not conflict with existing URL slug structures. For example, you could use the following slug structure for this dynamic 'category' page: **{collection-name}/{category}**  
 **Tip:** Click **Add Variable** to add your 'category' field to the URL slug structure.
3. Press **Enter** on your keyboard. The page name changes from **{Collection Name} (List)** to **{Collection Name} (Item)**.![A screenshot of the SEO settings for a dynamic category page with Category in the URL slug.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/26/136b9bdd-702b-48e4-9333-ac67decf6fcf/dad38138-92e3-45d8-a39d-a47d80feeb5f.png)
4. (Optional) Rename your dynamic category page so you can easily recognize it in your editor:  
   1. Hover over the dynamic 'category' page under **Site Pages and Menu**,click the **More Actions** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/15/baaf46c6-e78c-479c-8ed4-44af4e7097f5/a17b3d40-b6df-4314-b302-fe61a594a917.png) and select **Rename**.  
   2. Edit the name of the page and press **Enter** on your keyboard. For example, you could name the page: "{Collection name} (Item) (Category)"

**Dynamic list page (used to show all collection items)**

If needed, you can edit the URL slug structure of a dynamic list page that shows all the collection items. Make sure you do not add variables that would make the Page Link field values repeat in your collection, as this would turn the page into a dynamic item 'category' page. 

  
**To edit the URL slug structure of a dynamic list page:** 

1. Hover over the dynamic list page, click the **More Actions** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/15/baaf46c6-e78c-479c-8ed4-44af4e7097f5/a17b3d40-b6df-4314-b302-fe61a594a917.png) and select **SEO**.
2. Edit the **URL slug structure** field and press **Enter** on your keyboard. For example, you could use the following slug structure for your dynamic list page: **{collection-name}**

  
![A screenshot of the SEO settings for a dynamic list page with no variables in the URL slug.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/26/be58a7d4-67b1-40c2-a1ef-a25c4aec568b/b0ff8088-4181-4d4e-8acf-2d25fa0022a8.png)

**Studio Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Click **Pages** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/06/14/321a54e1-ec18-42be-9c2b-b93f3f6c8383/b26db553-6344-412a-b9f6-16f1a76dba92.png) on the left side of the editor.
3. Edit the URL slug structures of the dynamic pages that connect to your collection. Click the relevant dynamic page type below for directions:

**Dynamic item page (used to display individual items)**

If necessary, you can edit the URL slug structure of your collection's dynamic item page, used to show details about individual items. Keep in mind that changing the URL slug structure of your existing dynamic pages will cause the existing links to these pages to no longer work. This affects links within your site, any links you've shared externally, and SEO links in search engines.

  
**To edit the URL slug structure of your dynamic item page used to display individual items:** 

1. Hover over the dynamic item page, click the **More Actions** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/15/baaf46c6-e78c-479c-8ed4-44af4e7097f5/a17b3d40-b6df-4314-b302-fe61a594a917.png) and select **SEO**.
2. Edit the **URL slug structure** field and press **Enter** on your keyboard. For example, you could use the following slug structure for your dynamic item page: **{collection-name}/{category}/{primary-field}**  
 **Tip:** Click **Add Variable** to add a collection field to the URL that will dynamically adjust based on the item displayed on the page.

![A screenshot of the Studio Editor SEO settings for a dynamic item page with Category and Name in the URL slug.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/26/6505ed26-1530-4365-8a96-1b80304df7e9/57a6fda9-b554-4c65-b478-f1ab7449b4d1.png)

**Dynamic page (that will display items per category)**

Convert your dynamic list page into a dynamic page with different versions for each category. To do so, edit the URL slug structure so it remains unique to your site and includes your 'category' field as a variable. 

  
**To edit the URL slug structure of your dynamic 'category' page:** 

1. Hover over the dynamic list page, click the **More Actions** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/15/baaf46c6-e78c-479c-8ed4-44af4e7097f5/a17b3d40-b6df-4314-b302-fe61a594a917.png) and select **SEO**.
2. Edit the **URL slug structure** so it includes your 'category' field and does not conflict with existing URL slug structures. For example, you could use the following slug structure for this dynamic 'category' page: **{collection-name}/{category}**  
 **Tip:** Click **Add Variable** to add your 'category' field to the URL slug structure.
3. Press **Enter** on your keyboard. The page name changes from **{Collection Name} (List)** to **{Collection Name} (Item)**.![A screenshot of the Studio Editor SEO settings for a dynamic category page with Category in the URL slug.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/26/6981e387-db90-4436-b881-17c6d1852aea/bcd650cf-b370-4fdc-94e1-546e5f83e238.png)
4. (Optional) Rename your dynamic category page so you can easily recognize it in your editor:  
   1. Hover over the dynamic 'category' page under **Site Pages**,click the **More Actions** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/15/baaf46c6-e78c-479c-8ed4-44af4e7097f5/a17b3d40-b6df-4314-b302-fe61a594a917.png) and select **Rename**.  
   2. Edit the name of the page and press **Enter** on your keyboard. For example, you could name the page: "{Collection name} (Item) (Category)"

**Dynamic list page (used to show all collection items)**

If needed, you can edit the URL slug structure of a dynamic list page that shows all the collection items. Make sure you do not add variables that would make the Page Link field values repeat in your collection, as this would turn the page into a dynamic item 'category' page.

  
**To edit the URL slug structure of a dynamic list page:** 

1. Hover over the dynamic list page, click the **More Actions** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/15/baaf46c6-e78c-479c-8ed4-44af4e7097f5/a17b3d40-b6df-4314-b302-fe61a594a917.png) and select **SEO**.
2. Edit the **URL slug structure** field and press **Enter** on your keyboard. For example, you could use the following slug structure for your dynamic list page: **{collection-name}**

  
![A screenshot of the Studio Editor SEO settings for a dynamic list page with no variables in the URL slug.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/26/78978863-cfbc-4c2b-a907-785ac514eaab/a0a0ab10-4a2f-4f08-9366-7112c4cd15ad.png)

---

## Step 4 | Customize your dynamic category page

Your dynamic 'category' page should now act as a dynamic item page with different versions for each of your categories. In each version, a repeater has various elements already connected to your CMS collection fields to show details about each item within the category. 

  
 You can add or remove elements in the repeater, modify their CMS connections, and resize the repeater to fit everything. Use the **Preview** toolbar to view how each version of your page looks. We recommend connecting text at the top of the page to your CMS 'category' field so that each version shows the name of the category at the top.

> **Want to use a gallery or table instead of a repeater?** If you'd rather display the items in a [gallery](https://support.wix.com/en/article/cms-displaying-collection-content-in-a-pro-gallery) or [table](https://support.wix.com/en/article/cms-formerly-content-manager-displaying-collection-content-in-a-table), you can.Delete the default repeater and add a Pro Gallery or table. Then connect each part of your gallery or table to the CMS collection through the dataset.

### To customize your dynamic category page:

**Wix Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Go to your dynamic category page:  
   1. Click **Pages & Menu**![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8769cf44-f342-494c-b25f-cc98c9da3e82/2021/07/20/1d8a73cd-0857-43f0-9d91-a22c864050f5/1ad41258-c890-4de2-8293-027425a3800e.png)on the left side of the editor.  
   2. Click **Dynamic Pages**.  
   3. Click the dynamic category page you created in the previous section's steps.

![A screenshot of selecting the dynamic category page in the Wix Editor.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/05/02/b1c3c7b6-21f2-47bd-9675-3378c3233050/31692463-a0a9-4bf3-850d-3bc3142db0b0.png)

1. (Optional) Add elements to your repeater (e.g. buttons, text, images) or remove elements you do not need. You can adjust the size of the repeater so it can contain all the elements.
2. Click the repeater element and select the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) .
3. In the **Connect Repeater** panel on the right, click the element you want to connect.
4. Under **Connections**, click the relevant drop-downs to connect the element to the relevant collection field or dataset action. The options vary depending on the element type.

> **Tips:**
>
> * Connect text at the top of the page to your 'category' field so it dynamically adjusts, depending on which category is displayed.
> * Connect the image or button in your repeater to your dynamic item page used to display one item at a time.

![A screenshot of connecting a button to the dynamic item page.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/26/5ad8d857-dcb9-4dd4-800a-ad8bb4f1257f/fcfc89f5-45e0-44ee-9e8a-bb7d33ff6568.png)

1. Click **Repeater connections** at the top of the panel.
2. Repeat steps 3-7 above to connect the elements to collection fields or dataset actions.

![A screenshot of the repeater's CMS connections on a dynamic category page.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/26/27092e12-2878-4a0b-8027-3b59f6329ef5/30dbbeaf-c4c5-489c-918b-812079f310d0.png)

1. Click to adjust your repeater elements as needed.  
**Tip:** You can add or remove elements from your repeater at any time. Disconnect elements if you want to use static content that doesn't change.
2. Click **Preview** and use the toolbar to test each version of your dynamic category page.  
**Tip:** If you get a 404 error message when you enter preview mode, save and reload your editor, then try again.

![A screenshot of using the Preview toolbar to view other versions of a dynamic page.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/26/6885d0f6-64e3-4d3a-9175-e4e0c73a6d74/13e78a47-6028-468b-b1aa-a40860ed0c33.png)

1. Click **Publish** if you are ready to make the changes go live.

**Studio Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Go to your dynamic category page:  
   1. Click **Pages** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/06/14/321a54e1-ec18-42be-9c2b-b93f3f6c8383/b26db553-6344-412a-b9f6-16f1a76dba92.png) on the left side of the editor.  
   2. Click the dynamic category page you created in the previous section's steps.

![A screenshot of navigating to a dynamic category page in the Studio Editor.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/26/1e066e4d-e039-41da-81ea-851e108d0fe7/4494a31b-8eb8-41af-8da8-c3ac22946539.png)

1. (Optional) Add elements to your repeater (e.g. buttons, text, images) or remove elements you do not need. You can adjust the size of the repeater so it can contain all the elements.
2. Click the repeater element and select the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) .
3. In the **Connect Repeater** panel on the right, click the element you want to connect.
4. Under **Connections**, click the relevant drop-downs to connect the element to the relevant collection field or dataset action. The options vary depending on the element type.

> **Tips:**
>
> * Connect text at the top of the page to your 'category' field so it dynamically adjusts, depending on which category is displayed.
> * Connect the image or button in your repeater to your dynamic item page used to display one item at a time.

![A screenshot of linking a repeater buttons to the dynamic item page.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/26/0fbd93a9-1a7e-49fd-9fc2-61c24e6a5696/93d9618b-e92a-4e1e-adb5-67eb7c300611.png)

1. Click **Repeater connections** at the top of the panel.
2. Repeat steps 3-7 above to connect the elements to collection fields or dataset actions.

![A screenshot of the CMS connection options in a repeater.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/26/227c300c-acf1-44e2-afd0-1a29d0491c4c/f08948c4-2ef9-4aa2-a063-b4bb4134a231.png)

1. Click to adjust your repeater elements as needed.  
**Tip:** You can add or remove elements from your repeater at any time. Disconnect elements if you want to use static content that doesn't change.
2. Click the **Preview** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/07/12/45e03e4e-437b-4067-977e-869c3ff1ddd7/357065e4-6113-4838-9dbd-edc880533773.png) at the top right and use the toolbar to test each version of your dynamic category page.  
**Tip:** If you get a 404 error message when you enter preview mode, save and reload your editor, then try again.

![A screenshot of using the toolbar to preview each version of a dynamic category page.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/26/a0f2f517-0360-470c-8e56-6ad7948944bb/e3320dc2-75d1-4a4f-a312-9e68960b4638.png)

1. Click **Publish** if you are ready to make the changes go live.

---

## Step 5 | (Optional) Create a dynamic page that lists your categories

Now that you have a dynamic page with different versions for each of your categories, you may want to create a page that lists all of these categories. That way, visitors can view an index of all your categories, then click to go to the relevant version of the dynamic 'category' page you created earlier. 

  
 To do this, you need a separate collection with an item for each of your categories. Your 'categories' collection will also need a Multi-Reference field referencing items from your main collection. You can also add an image field for each category's image and a text field to provide a brief description of each category. 

  
 Then, add a dynamic list page for your 'categories' collection. You need to add a dataset that connects to your main collection and has a filter that includes the **Title** ('categories') field from your 'categories' collection. Customize the page and modify its URL slug structure if needed.

### a | Create a collection for listing your categories

1. [Go to CMS](https://www.wix.com/my-account/site-selector/?buttonText=Go%20to%20CMS&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https://www.wix.com/dashboard/%7B%7BmetaSiteId%7D%7D/database/) in your site's dashboard.
2. Click **+ Create Collection** at the top right.
3. Click **Start from scratch**, then click **Next**.
4. Enter a name for your collection.
5. (Coding only) Enter a collection ID to use in your code.
6. Leave **Multiple item collection (Default)** selected and click **Create**.
7. Add a multi-reference field that references your main collection:  
   1. Click **Add Field**, select **Multi-reference**, then click **Choose Field Type**.  
   2. Enter the **Field name**.  
   3. Click the **Referenced Collection** drop-down, select the main collection that includes your 'category' field, then click **Save**.

![A screenshot of adding a Multi-Reference field in a Category collection.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/29/f106269f-954c-41d8-8875-cc86eb163479/bd578835-54d3-40fe-a303-79ea7b5cfa8f.png)

1. (Optional) Add more fields to display on your list of categories page (e.g. image, text). For example, you could add an image field for displaying an image representing each category.
2. Add a new item for each category:  
   1. Click **+ Add Item**.  
   2. Enter the name of one of your categories in your primary **Title** field.  
   3. Click the **Multi-Reference** cell and select the items that have a category field matching this item's primary **Title** field.  
   4. Fill out any additional fields you added for this item/category.  
   5. Repeat these steps to add items representing each category.

![A screenshot of a Categories collection with Multi-Reference fields.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/29/96869916-2d83-490f-b0a3-49ae2efa1eaa/47d57bf9-1725-4c7d-942c-4e824d007239.png)

### b | Add a dynamic page for displaying your list of categories

**Wix Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Click **CMS** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/f0656688-8ed1-488a-888d-62373b7c3a3c/2021/07/13/be1f7f18-9356-4c33-b010-192982c912e9/59fd7aba-c990-4d61-ab3d-ad7d2e1cce16.png) on the left side of the editor.
3. Click **Your Collections**.
4. Hover over the collection you just created for listing your categories and click the **More Actions** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/03/08/bead55a7-9f6e-4c81-83e4-d52f3eeff831/c54494c6-0c5b-47f1-b246-9c06e5ce10e9.png).
5. Click **Add dynamic page**.

![A screenshot of adding a dynamic page.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/29/f018c1b7-c024-48e7-9f13-1340fb0ede43/f288bf12-4c81-4394-8eae-1cc2d37d267d.png)

1. Select **List page** and click **Add to Site**.
2. Add a dataset that connects to your main collection and has a filter that includes the **Title** ('categories') field from your 'categories' collection:  
   1. Click **CMS** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/f0656688-8ed1-488a-888d-62373b7c3a3c/2021/07/13/be1f7f18-9356-4c33-b010-192982c912e9/59fd7aba-c990-4d61-ab3d-ad7d2e1cce16.png) on the left side of the editor.  
   2. Click **Add Content Elements** then select **Dataset**.  
   3. Click the drop-down, select the main collection and click **Create**.  
   4. Click **+ Add Filter** in the **Dataset Settings** panel on the right.  
   5. Click the **Field** drop-down and select your 'category' field.  
   6. Select **Another dataset** under **Value source**.  
   7. Click the **Dataset** drop-down and select your collection that lists the categories.  
   8. Leave **Title** selected in the **Field** drop-down and click **Add Filter**.

![A screenshot of adding a filter to the dataset.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/29/98e1880d-f52d-49d1-873f-f5b69c79efce/de93471d-5f61-4ada-a019-a21d765ef458.png)

1. Connect the 'Read More' buttons in your repeater to your dynamic category page:  
   1. Click the button in your repeater and select the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png).  
   2. Click the **Choose a dataset** drop-down and select the dataset you just added that connects to your main collection.  
   3. Click the **Click action connects to** drop-down and select the dynamic 'category' page.

![A screenshot of linking to the dynamic 'category' page.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/29/2d51e759-b422-4639-9fa3-5cd3d717c573/242dc87d-1750-4439-a2f9-a1cdc1a5d246.png)

1. (Optional) Add elements to your repeater (e.g. buttons, text, images) or remove elements you do not need. You can adjust the size of the repeater so it can contain all the elements.
2. Click the repeater and select the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) to adjust the connections between the elements and your collection.

![A screenshot of adjusting the CMS connections in a repeater.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/29/c6a289f7-0449-47fc-8c04-d340f3a45078/6f9d9eff-f4b9-4514-81f6-ee8ef7fd91ee.png)

1. (Optional) [Modify the URL slug structure](https://support.wix.com/en/article/cms-creating-dynamic-pages-that-list-items-by-category%EF%BB%BF#step-3-modify-the-url-slug-structures) of this dynamic page.
2. Click **Preview** to test your connections.
3. Click **Publish** if you are ready to make the changes go live.

**Studio Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Click **CMS** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/f0656688-8ed1-488a-888d-62373b7c3a3c/2021/07/13/be1f7f18-9356-4c33-b010-192982c912e9/59fd7aba-c990-4d61-ab3d-ad7d2e1cce16.png) on the left side of the editor.
3. Click **Your Collections**.
4. Hover over the collection you just created for listing your categories and click the **More Actions** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/03/08/e1d55a89-5143-416b-a6be-71717695be14/ea1c1b2c-ccfe-41ad-ba9d-4ce9b57b0cfc.png).
5. Click **Add dynamic page**.

![A screenshot of adding a dynamic page for a collection in the Studio Editor.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/29/d6db62ef-3733-4e4c-89cf-efc35d2e84bd/8247ef4c-537c-4915-8b06-0f276ff346b0.png)

1. Select **List page** and click **Add to Site**.
2. Add a dataset that connects to your main collection and has a filter that includes the **Title** ('categories') field from your 'categories' collection:  
   1. Click **CMS** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/f0656688-8ed1-488a-888d-62373b7c3a3c/2021/07/13/be1f7f18-9356-4c33-b010-192982c912e9/59fd7aba-c990-4d61-ab3d-ad7d2e1cce16.png) on the left side of the editor.  
   2. Click **Add Content Elements** then select **Dataset**.  
   3. Click the drop-down, select the main collection and click **Create**.  
   4. Click **+ Add Filter** in the **Dataset Settings** panel on the right.  
   5. Click the **Field** drop-down and select your 'category' field.  
   6. Select **Another dataset** under **Value source**.  
   7. Click the **Dataset** drop-down and select your collection that lists the categories.  
   8. Leave **Title** selected in the **Field** drop-down and click **Add Filter**.

![A screenshot of adding a dataset filter.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/29/3cbee645-9491-439a-bec1-7fec1b05d86c/6af8c07c-8ddc-493e-a49c-dca98f1e767a.png)

1. Connect the 'Start Now' buttons in your repeater to your dynamic category page:  
   1. Click the button in your repeater and select the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png).  
   2. Click the **Choose a dataset** drop-down and select the dataset you just added that connects to your main collection.  
   3. Click the **Click action connects to** drop-down and select the dynamic 'category' page.

![A screenshot of linking to the dynamic category page.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/29/0d5554c0-2118-4a11-a5ec-f56a8cb8a45b/d8dc47ad-d99c-443f-9ba9-1d2b9d053aa4.png)

1. (Optional) Add elements to your repeater (e.g. buttons, text, images) or remove elements you do not need. You can adjust the size of the repeater so it can contain all the elements.
2. Click the repeater and select the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) to adjust the connections between the elements and your collection.

![A screenshot of adjusting the CMS connections in a repeater.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/29/0bc3a621-92b8-4c1f-87b5-551e63d7f472/ac12bd58-b46d-4fee-ac4f-786f292a4e04.png)

1. (Optional) [Modify the URL slug structure](https://support.wix.com/en/article/cms-creating-dynamic-pages-that-list-items-by-category%EF%BB%BF?tabs=Studio-Editor-1#step-3-modify-the-url-slug-structures) of this dynamic page.
2. Click the **Preview** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/07/12/45e03e4e-437b-4067-977e-869c3ff1ddd7/357065e4-6113-4838-9dbd-edc880533773.png) at the top right to test your connections.
3. Click **Publish** if you are ready to make the changes go live.

> **Next:**
>
> * Learn how to [add links to your new dynamic pages in your site's menu](https://support.wix.com/en/article/cms-linking-to-dynamic-pages#linking-your-site-menu-to-dynamic-pages).
> * Learn how to [add a 'Load More' button to your dynamic list page](https://support.wix.com/en/article/cms-setting-up-a-dynamic-list-page#step-5-optional-add-a-load-more-button).
> * Learn how to [add input elements that allow visitors to filter collection content](https://support.wix.com/en/article/cms-formerly-content-manager-setting-up-filters-for-site-visitors-using-input-elements).

---

## FAQs

Click below for answers to common questions about creating dynamic category pages.

**How do category collections differ from this manual workaround?**

[Category collections](https://support.wix.com/en/article/cms-using-category-collections-to-organize-your-content) are Wix's built-in way to organize content by category. Compared to the manual workaround in this article, they require less setup and include built-in features such as automatic URL generation, two-way sync between categories and items, [pre-built category page templates](https://support.wix.com/en/article/cms-creating-dynamic-category-pages), and primary category support for SEO.

  
 This manual workaround gives you more flexibility, including no category limit, but it requires more manual setup. You need to enter category values manually, configure URL slugs yourself, and create and convert the dynamic pages on your own.

  
 For most sites, we recommend category collections. One thing to keep in mind is that category collections support up to 1,000 categories per category collection.

**Why do I get a 404 error message when I preview my new dynamic category page?**

If you get a **Page Not Found (404)** error message when previewing newly created dynamic pages, try saving and reloading your editor. 

  
![A screenshot of the Page Not Found 404 error message that can appear in preview mode.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/23/dbfc5c95-107b-4985-809e-e43ff0259d71/4e891eab-9b6e-4672-a987-6e2a2104c537.png)

**Can I add links to my dynamic category pages in my site menu?**

Yes. When adding a link to your site menu, you can choose which dynamic pages you'd like to link. For dynamic item pages like your dynamic 'category' page, you can choose which specific item (category) the menu link leads to. 

  
 You can also link other elements such as text, buttons, or images to your dynamic pages.

  
 Learn how to [add links to your dynamic pages](https://support.wix.com/en/article/cms-linking-to-dynamic-pages).

**Can I add 'Load More' or navigational buttons to my dynamic pages?**

If you have more items than you'd like to show when the page initially loads, consider adding a '[Load More](https://support.wix.com/en/article/cms-about-dataset-click-actions-for-buttons-and-images#load-more)' button to improve the page's loading performance. This allows you to hide items from displaying until visitors click the button. To help visitors navigate through various collection items, add [navigational buttons](https://support.wix.com/en/article/cms-about-dataset-click-actions-for-buttons-and-images#next-dynamic-page-previous-dynamic-page) or [pagination bars (Wix Editor only)](https://support.wix.com/en/article/cms-adding-and-setting-up-a-pagination-bar).
