As a senior website operator for AnQiCMS, I am well aware of the importance of content structure for user experience and search engine optimization.A clear and logical content classification can not only help users quickly find the information they need, but also enhance the professionalism and weight of the website.In AnQiCMS, by reasonably setting subcategories, a well-structured content system can be effectively constructed.
Build content hierarchy: Add a subcategory in AnQiCMS
The AnQi CMS provides flexible and powerful classification functions for content management.In actual operation, we often need to set more specific subcategories under the main category to refine content organization, facilitate user browsing, and also benefit search engines in understanding the website structure.The process of adding subcategories is intuitive and efficient, and it can help you easily build a multi-level content architecture.
First, you need to log in to the AnQiCMS admin interface.In the left navigation menu, find and click the 'Content Management' option, and then select 'Document Category'.This is the core area where you manage all website categories, whether it is the top-level category or its subcategories, all operations will be performed here.
On the document category management page, you will see the list of all categories created on the current website.You need to determine the parent category it belongs to before adding a new subcategory.Next to the parent category entry where you want to add a subcategory, there is usually an operation button. Click it or go to the parent category editing page, and you will find the option to 'Add Subcategory'.Select this option to be guided into the form for creating subcategories.
In the creation or editing form of the subcategory, there are several key pieces of information that you need to fill in and configure carefully.The category name is the display name of the subcategory on the front page, it must be concise and clear, accurately reflecting the scope of its content.The confirmation of the "parent category" follows, the system will usually automatically fill in the parent category you have selected at this step. However, it is worth noting that the content model of the subcategory must be consistent with the selected parent category.The Anqi CMS strictly stipulates that once a category is created and a content model is specified, the model cannot be changed. Therefore, when creating subcategories, the system ensures that the parent category and the new subcategory are bound to the same content model to maintain the consistency of the data structure.
In addition to basic information, you can further configure the "category introduction" of the subcategory, which is usually used as the description information in the TDK (title, keywords, description) of the category page, which is crucial for SEO.In the "Other Parameters" section, you can make more detailed settings.For example, the 'display order' determines the arrangement position of subcategories in the list, the smaller the number, the closer to the front;SEO title" and "keywords" can be customized for subcategories to create an SEO strategy that enhances their visibility in search engines;"}“Custom URL” allows you to set a more semantically meaningful or user-friendly URL path for subcategories, which is very beneficial for SEO and user memorability.
Moreover, in terms of template design, subcategories support the customization of "Category Template".This means you can apply a different page template to a specific subcategory than its parent category to achieve a personalized display style.You can also choose to 'Apply to child categories' to inherit the current child category template settings to the next level of child categories, thereby simplifying template management.If you need to set a unified template for all documents under this category, you can do so in the 'Document Template'.Finally, you can also upload "Banner images" and "thumbnail images" to enrich the visual content of the category page, and fill in the "category content" as needed to provide a more detailed category introduction.
After completing all necessary information entry and configuration, click the "OK" button, your subcategory will be successfully created and added to the website's content structure.In this way, you can build a logical and hierarchical content classification system for your website, greatly enhancing the discoverability and management efficiency of the content.
Frequently Asked Questions
Why must the child category use the same content model as the parent category?AnQiCMS ensures consistency and maintainability of content data in design.Each category (including subcategories) must be bound to a specific content model (such as an article model, a product model).Once a category is created and a content model is specified, the model cannot be changed.Therefore, in order to ensure the uniformity of the content structure, the system requires that the subcategory must follow the content model of its parent category.This can avoid data confusion between different content models and potential compatibility issues.
I set a custom template for the child category, but it didn't work. What's the problem?If you have set a custom template for the subcategory but the front-end display does not meet expectations, first confirm that the template file name you have entered is accurate and that the template file indeed exists in your template design package.AnQiCMS will strictly follow the path and filename you specify to find the template.If the template does not exist, the system may revert to the default template or error.At the same time, if your child category inherits the template settings of the parent category (the option "Apply to child category"), please check whether the settings of the parent category override your custom settings.
What is the role of a custom URL and what should be noted?The custom URL feature allows you to set a user-friendly and search engine-friendly URL path for categories, rather than the system-generated numeric ID path.It is crucial for SEO optimization, helping to improve the keyword ranking of category pages.When setting a custom URL, please ensure that it is unique throughout the entire website. If a duplicate is set, the system will automatically add a random number to the end to ensure uniqueness.Suggest using lowercase letters, numbers, and underscores, and avoid special characters or spaces to ensure the stability and standardization of URLs.