How to add a lower-level subcategory for document classification and manage its hierarchical relationship?

Calendar 👁️ 62

In AnQi CMS, efficient content categorization is not only the cornerstone of organizing website information, but also the key to improving user experience and search engine friendliness.As a website operator who is well-versed in the operation of Anqi CMS, I know that a logical and hierarchical classification system is crucial for the management and distribution of content.This article will detail how to add subcategories to existing categories in Anqi CMS and effectively manage their hierarchical relationships.

Build a clear content classification system

In the Anqi CMS backend management interface, the content classification module is the core area for building the website's information architecture.Whether it is articles, products, or other types of content, they all need to rely on predefined "content models" to create categories.A well-planned classification system can guide users to quickly find the information they need, while also helping search engines better understand the structure of the website, thereby improving the overall performance of the website.

When we need to create a new content category, we will first find the 'Document Category' option under 'Content Management'.Here, you can view all the categories created and perform further management operations.The design of AnQi CMS makes each category tightly associated with a content model. Once a top-level category selects its associated content model, this selection will be fixed and cannot be changed.This means that all subsequent subcategories created will follow the content model of their parent category.Therefore, defining the content model when creating a top-level category is the first and most important step.

Add a lower-level subcategory to the existing classification

To add a subcategory under an existing category, which is a common need to expand the breadth and depth of website content. This operation is intuitive and convenient in Anqi CMS.

First, you need to log in to the AnQi CMS backend, navigate to the "Content Management" menu, and then click "Document Category".In the category list, find the parent category you want to add a subcategory to.Next to the entry in the parent category, there is usually a button or link to add a subcategory, click it to enter the subcategory creation page.

In the form for adding or editing subcategories, you will notice some key fields:

  • Document modelAs mentioned before, the document model of the sub-category is automatically set according to its parent category, and you cannot modify it here. This ensures consistency of content types within the category hierarchy.
  • Parent categoryThis field will automatically display the parent category of the current operation, usually no manual adjustment is needed. The system ensures that the newly created sub-category belongs to the same model as the parent category.
  • Category NameThis is the name displayed on the front-end website for the sub-category, it should be concise and clear, accurately reflecting its content.
  • Category introduction: Provide a brief description for the subcategory, which not only helps users understand but also is important for SEO.descriptionTag content.
  • .In this collapse area, you can make more detailed settings:
    • Display orderControl the sorting of categories by adjusting the size of the numbers, the smaller the number, the closer to the front.
    • SEO title, keywords, custom URLThese are the key settings to enhance the visibility of sub-categories in search engines, which can be optimized according to content characteristics.Custom URLs are automatically generated, but you can also manually modify them, ensuring uniqueness.
    • Category template and document template: AnQi CMS allows you to specify independent templates for categories and their documents.Here is a very practical feature - whether to apply to subcategories.If this option is enabled, the template set for the current category will be automatically inherited by all subordinate subcategories, which is beneficial for maintaining the unity of the website style and reducing the workload of repeated settings.
    • Banner image, thumbnail, category contentThese fields are used to enrich the visual presentation and information display of the category page, and images can be uploaded or detailed content can be filled in according to actual needs.

After filling in all necessary information and saving, the new sub-category will be successfully added to your category system and reflected in the category list on the backend.

Manage category hierarchy and maintenance

The AnQi CMS category management interface does not directly provide visual operations such as drag and drop sorting or hierarchical adjustment, but its 'add subcategory' mechanism itself builds a clear hierarchical relationship. Management and maintenance of established hierarchies are mainly carried out in the following ways:

First, the order of display field can be adjusted to change the arrangement order of categories at the same level.If you find that the level of a subcategory is not properly placed, or you need to move it to another parent category, the current Anqi CMS does not provide a direct 'move' function. You may need to consider deleting the category and re-creating it in the correct position, but please operate with caution as deleting a category will also delete all content under it.

Secondly, by using the "Apply to Subcategories" feature, you can efficiently manage template inheritance.For example, if you set a dedicated corporate style template for a top-level category of a department and check 'Apply to subcategories', then all subcategories related to products, services, and news under this department will automatically adopt this template without the need to set them individually.

Finally, regularly reviewing the category structure to ensure it keeps pace with the website content and business development is also an important part of website operations.Adjust the category name, introduction, and SEO information in a timely manner to adapt to new content strategies and market changes.

By following these detailed steps and management methods, Anqi CMS can help operations personnel easily build and maintain a strong and organized content classification system, laying a solid foundation for the long-term development of the website.


Frequently Asked Questions (FAQ)

  1. Ask: Can a category in Anqi CMS belong to multiple content models?Answer: No. In Anqi CMS, each category (whether a top-level category or a subcategory) can only strictly belong to a single content model.The top-level category will automatically inherit the content model when it is selected during creation, and it cannot be changed.

  2. Ask: If I change the 'category template' of the parent category, will the child categories be updated immediately?Answer: It depends on the 'Apply to child categories' setting of the parent category.If you check the 'Apply to child categories' option on the parent category editing page, then when you update the template settings of the parent category, the templates of all lower-level child categories will also be automatically updated to the template specified by the parent category.If unchecked, subcategories will retain their independent template settings.

  3. How to adjust the parent-child relationship of a subcategory without deleting the content?Answer: Anqi CMS does not currently provide a direct 'move' category function to change its parent-child relationship.If you need to change the parent category of a subcategory, you usually need to move the documents under the subcategory to another category (or make a temporary backup), then delete the subcategory, and finally create and import the relevant documents under the new parent category.Before performing this operation, please make sure to back up the data to prevent any unexpected situations.

Related articles

Can the content model of a document category be modified after its creation?

As a senior CMS website operation personnel in the security industry, I know that understanding data structures and content classification is crucial in content management.Regarding whether the content model of a document category can be modified after its creation, it is indeed a frequently questioned focus in daily operation.In the design philosophy of Anqi CMS, the association established between the content model and document classification is the core of system content organization.Once the document category is created and the content model it belongs to is specified, this association is fixed and cannot be directly modified.Specifically

2025-11-06

How to create a new document category in AnQi CMS?

As a website operator who deeply understands the operation of AnQiCMS, I know the importance of content organization for the success of the website.Document classification, as one of the core content management features of AnQiCMS, is the foundation for building a clear and efficient website structure.By reasonable classification, we can not only help users find the information they need quickly, but also lay a solid foundation for search engine optimization (SEO).Next, I will elaborate on the complete process of creating a document category in AnQiCMS.

2025-11-06

How to use if, for, etc. logic tags to process document data in the AnQiCMS template?

In the Anqi CMS template world, building dynamic and responsive content display that meets user needs is the core of website operation.As an experienced CMS operation personnel for an enterprise, I fully understand the importance of template logic tags.They give us the ability to render different content based on different data states, making the website not only beautiful but also smartly adaptable to various business scenarios.Today, I will elaborate on how to skillfully use `if` and `for` logic tags in the AnQiCMS template to process document data, thereby creating a website page with rich hierarchy and interactivity.

2025-11-06

How to filter sensitive words and ensure content safety in AnQiCMS documents?

As a senior CMS website operator for an information security company, I know the importance of content security for any website.It not only concerns user experience and brand reputation, but also the foundation for the legal and compliant operation of the website.AnQi CMS places content security at the core from the beginning, providing strong protection for website operators through a series of integrated functions, especially in terms of sensitive word filtering and content compliance.

2025-11-06

How to set the SEO title and keywords of document classification to improve search engine visibility?

As an experienced security CMS website operator, I know that every detail can affect the website's performance in search engines.Content creation and optimization is my core responsibility, and the SEO settings of document classification are the key to improving search engine visibility, attracting target users, and ultimately促成 conversion.AnQiCMS provides many conveniences in terms of SEO, through reasonable configuration, we can fully utilize these features.

2025-11-06

How does AnQi CMS support custom document category URL aliases, and what are the naming rules?

As an experienced CMS website operations personnel in a well-known security company, I am well aware that a flexible and search engine-friendly URL structure is crucial for the success of the website.AanQi CMS provides strong support in this aspect, especially for the custom URL alias feature for document classification, which greatly improves the website's SEO performance and user experience. ### Support and Function of Custom Document Category URL Aliases Anqi CMS, as an enterprise-level content management system developed in Go language, took SEO friendliness into account from the very beginning of its design.Among, the article

2025-11-06

How to set a custom template for a specific document category and control whether subcategories inherit the template?

As a professional who is deeply familiar with the operation of AnQi CMS, I know the importance of content presentation in attracting and retaining users.The flexibility of AnQi CMS in content management, especially in template customization, provides us with great freedom, ensuring that every part of the content can be displayed in the most fitting way according to its characteristics.Today, I will elaborate on how to set up a custom template for a specific document category, and flexibly control whether the subcategories inherit the template, thereby helping you create a more personalized and professional website.Why do you need a custom category template? In website operation

2025-11-06

Does the Anqi CMS document classification support uploading Banner images and thumbnails? How to call them on the front end?

As a website operator deeply familiar with the essence of Anqi CMS content management, I know the importance of image content in attracting and retaining users.Regarding your concern about whether Anqi CMS supports uploading Banner images and thumbnails for document categories, and how to call these resources on the front end, I can clearly tell you that Anqi CMS provides comprehensive support for this and has flexible front-end calling methods.### Picture Support Function of AnQi CMS Document Classification AnQi CMS has fully considered the diversity of website content display needs since its design

2025-11-06