SR

Managing categories

What are categories?

Categories are the main way of organising content on your site. Every post belongs to one category, and the category determines:

  • The post's URL (e.g. /blog/technology/my-post)
  • The directory in which the file is stored on the server
  • Grouping in the admin panel and on the site

Categories work like folders on a computer — every document goes into one folder.

How to create a category

From the admin panel

  1. In the side navigation, under the section for your post type (Blog, Pages…), click Manage Categories
  2. On the category management page:
    • Enter the category name (e.g. "Technology")
    • The slug is generated automatically (e.g. "technology")
    • Optionally enter a description of the category
    • For subcategories, choose a Parent Category
    • Click Add Category

Slug rules

  • A slug may contain only lowercase letters, numbers and hyphens
  • A slug must be unique within the post type
  • Examples of good slugs: web-design, marketing-2026, e-commerce

How to assign a category to a post

  1. Open the post for editing
  2. In the right sidebar find the Category field
  3. Choose a category from the dropdown
  4. Save the post

When you assign a category, the post is automatically moved to the corresponding directory. If you change the category, the old file is deleted automatically and a new one is created at the new location.

Subcategories

Categories can have a hierarchy — one category can be set as a subcategory of another:

  • Clothing (main category)
    • T-shirts (subcategory)
    • Trousers (subcategory)

Subcategories are reflected in the URL: /products/clothing/t-shirts/my-product

How to create a subcategory

  1. On the Manage Categories page, when adding a new category
  2. Choose a Parent Category from the dropdown
  3. Click Add Category

Filtering posts by category

In the admin panel you can quickly see all posts in a certain category:

  1. In the side navigation, under the post-type section, open the Categories submenu
  2. Click the category name
  3. The post list is filtered to show only posts in that category
  4. A blue label above the list confirms the active filter

URL structure with categories

Categories directly affect the URL structure:

Post type Without a category With a category
Pages /my-page /category/my-page
Blog /blog/my-post /blog/category/my-post
Custom /portfolio/project /portfolio/category/project

Note: Changing a post's category automatically creates a 301 redirect from the old URL to the new one, so existing links keep working.

Editing and deleting categories

Editing

  1. On the Manage Categories page click Edit next to the category
  2. Change the name, slug or description
  3. Confirm the change

Important: If you change a category's slug, you must move the existing files to the new directory manually or re-save every post.

Deleting

  1. Click Delete next to the category
  2. Confirm the deletion

Note: Deleting a category does not delete the posts — they stay in their directory, but the category is removed from the dropdown.


Frequently asked questions

Must every post have a category?

No. The category is optional. Posts without a category have a simpler URL structure (e.g. /blog/my-post instead of /blog/category/my-post).

How many categories should I have?

We recommend 3–10 categories per post type. Too many categories make navigation harder, too few do not provide enough organisation.

Do categories affect SEO?

Yes. Categories appear in the URL, which helps Google understand your site's structure. Use descriptive slugs (e.g. "web-design" instead of "cat-1").

What is the difference between a category and a tag?

A category is the primary classification (one post = one category), while tags are descriptive labels (one post = several tags). Read more in the lesson Categories and tags.

This guide is part of the official knowledge base for Emit (emit.rs). Emit is a platform for building your own website, online store and booking system - with AI or by yourself. Free during the introductory period.

Start for free What is Emit →