How to customize document categories in AnQiCMS and set category templates and SEO information?

Calendar 👁️ 87

As an old soldier in the field of website operation for many years, I know the importance of a flexible and efficient content management system for website operation.AnQiCMS, with its high-performance architecture based on the Go language, rich customization features, and deep optimization for SEO, is undoubtedly a powerful assistant for small and medium-sized enterprises and content operation teams.It not only makes content management simple, but also allows every corner of the website to carry the power of optimization.

Today, let's delve deeply into a very core and practical feature of AnQiCMS - how to customize document categories and set exclusive templates with refined SEO information.This can not only make your website content well-organized, but also bring more traffic and a better user experience to the website through differentiated display and precise SEO layout.

Understand document classification and content model: the 'skeleton' of website content

In AnQiCMS, document classification is not just a categorization of content, it is also related toContent modelClosely connected 'skeleton'.Each time we create a category, we need to select the content model it belongs to, such as 'Article Model' or 'Product Model', or even a custom model.Once a content model is selected, this category is bound to the model, determining the field structure of the documents below.This design greatly enhances the adaptability of the system, allowing you to easily manage a variety of content such as articles, products, and events.

By categorizing, we can clearly organize the website structure, making it easy for users to quickly find the information they need, and also providing clear content signals to search engines.For example, a 'news center' category may belong to an 'article model', while a 'product display' category may belong to a 'product model', their backend fields and frontend display logic will be completely different.

First step: Create and configure custom document classification

To start customizing document classification, we first need to enter the AnQiCMS backend management interface.In the left navigation bar, find the 'Content Management' option under 'Document Category'.Click to see the current list of categories, and you can perform operations such as 'Add a new category' or edit existing categories.

In the form for adding or editing categories, you will see several important configuration items:

  • Document model:This is a crucial step for creating a top-level category, as it determines the properties of all content under this category.Please note that once the document model is selected, it cannot be changed, so please make sure to choose carefully.
  • Parent category:This allows you to build a multi-level classification structure, providing a more detailed organizational hierarchy. You can choose an existing classification as its parent to ensure they belong to the same document model.
  • Category Name:The name displayed on the front page of the category, clear, concise, and accurately describing the content is the key to naming the category.
  • Category introduction:Here you can enter a brief introduction to the category content.This not only helps users understand the classification topics, but is also an important source of Meta Description tags in page SEO optimization.

This basic information constitutes the core of the classification, but the powerful features of AnQiCMS are far more than that.In the 'Other Parameters' collapse area of the form, you will find more advanced configurations, which are the key to personalized display and deep SEO optimization.

Step two: Refine the category template settings, create a unique display style

Why do we need to set up a dedicated template for classification?Imagine that your website may have categories to display company news, publish industry reports, and even showcase successful cases.They are all articles, but may require completely different layouts and visual styles.The AnQiCMS category template feature is designed to meet such differentiated needs.

In the 'Other Parameters' collapse area, you will see a name calledcategory templateThe field. By default, AnQiCMS will automatically apply a generic template based on the content model of your category, such as{分类模型}/list.html. When you need to give a unique look to a specific category, you can fill in the name of the custom template here.

For example, if you have a category named "Download Resources", you may need a page with a download button, resource preview, and special layout. You can create a page nameddownload.htmlEnter the template file heredownload.html. AnQiCMS will automatically place in your template design package (usually located/template/{模板目录}/)Search and apply this template. The system even supports more refined default template naming, such as{模型table}/list-{分类id}.htmlIf it exists, it will also be automatically recognized and used, which provides great convenience for advanced developers.

In addition,“Apply to subcategoryThe option is also very practical.If you want all subcategories under a certain category to follow the current category's template style, just set it to inherit, saving the trouble of setting it individually.Document TemplateIf you specify the default template for all document detail pages under a category, it ensures consistency in the display style of documents within that category.

Step 3: Optimize the SEO information of the categories, enhance search engine visibility

In content operation, the SEO optimization of category pages is often overlooked, but it is crucial for the overall ranking and traffic of the website.AnQiCMS provides detailed SEO settings to help you maximize the potential of each category page.

In the "Other Parameters" section, there are several fields specifically designed for SEO:

  • SEO Title:This is the title displayed to the user on the search engine results page (SERP).It allows you to set a title for the category page that is more attractive than "Category Name" and includes core keywords.Remember, a good SEO title should accurately summarize the page content and include main keywords to improve click-through rate.
  • Keywords:The keywords here will serve as the Meta Keywords tag for the page. Although modern search engines have reduced their weight, it is still important to set relevant keywords and use English commas,Separation still helps search engines understand the page theme and is helpful for internal content organization and relevance hints.
  • Custom URL:This is an extremely important SEO optimization point. AnQiCMS will automatically generate a pinyin URL alias based on your category name (url_token),for example 'company news' may generate 'gongsixinwen'.If you are not satisfied with the automatically generated content, or want a shorter, more descriptive URL, you can manually enter custom content.A friendly URL structure, usually containing keywords, and with clear levels, is very beneficial for search engine crawling and user memory.It should be noted that the custom URL must ensure uniqueness across the entire site. If there is a duplicate, the system will automatically add a random number at the end to ensure uniqueness.Management of Static RuleThe function works closely together, allowing you to define clear and semantically meaningful URL paths, further enhancing SEO effects.
  • Category introduction:In addition to being a category introduction, this content will also be used as the page's Meta Description.Write an engaging introduction that includes core keywords, effectively enhancing user click-through rates on search result pages.

By these detailed configurations, you can inject powerful SEO energy into each category page of the website, allowing them to achieve better visibility and ranking in search engines.

Call and display in the template: magic of dynamic content

After configuring categories and SEO information, how to present them in the front-end template

Related articles

What advanced features does the AnQiCMS document content editor support, such as the material library and image resources?

In the daily operation of AnQiCMS (AnQiCMS), we understand that an efficient and intelligent content editor is the core driver of content productivity.It is not just a tool for text input, but also a bridge for content creators and operators to transform thoughts into high-quality content.AnQiCMS designed its content editor by precisely perceiving this need, and tirelessly integrated a variety of advanced features, especially in the material library and image resource management, demonstrating its meticulous craftsmanship in improving operational efficiency.### The foundation of content editor: A powerful and intuitive editing experience First

2025-11-07

How to add a new document and set recommended attributes, keywords, and SEO titles in AnQiCMS?

## AnQiCMS Content Operation Manual: Easily add documents to achieve double benefits of SEO and user experience As an experienced website operation expert, I am well aware of the importance of an efficient and intelligent content management system for enterprises and self-media.AnQiCMS (AnQiCMS) is gaining popularity among operators with its high-performance architecture developed in Go language and rich content management features.It not only makes content publishing simple, but also deeply integrates SEO optimization into daily operations, helping your website stand out in the fierce market competition.

2025-11-07

What specific features does the 'Content Management' module of AnQiCMS backend contain?

As an experienced website operations expert, I know that content is the soul of the website, and an efficient, flexible content management system (CMS) is the core engine that drives the lifecycle of website content.AnQiCMS (AnQi CMS) performs excellently in this regard, and its "Content Management" module is undoubtedly one of the most powerful and favored features by operators.

2025-11-07

How to implement pagination display for the document list with `pagination` tag?

As an experienced website operations expert, I know that an efficient content management system (CMS) is the cornerstone of website operations.AnQiCMS boasts a simple and efficient architecture with rich features, performing excellently in content publishing and management.Today, let's delve deeply into a seemingly simple but extremely important feature in AnQiCMS—the `pagination` tag, which elegantly implements pagination display of document lists to optimize user experience and enhance website performance.

2025-11-07

How to manage and associate document tags in AnQiCMS?

## Unveiling AnQiCMS Document Tags: The Efficient Association and Management of Cross-Content Models In the world of content operations, how to organize information efficiently, make it easy to retrieve, and ultimately transform it into user value is the core concern of every operator.AnQiCMS (AnQiCMS) is an enterprise-level system designed specifically for content management, and it understands this pain point.It provides a powerful and flexible document tag management mechanism, especially showing its unique advantages in dealing with the association between different content models.Today, let's delve deeply into AnQiCMS

2025-11-07

How to create and manage custom content models and add fields in AnQiCMS?

In the daily operation of website management, the flexibility of the Content Management System (CMS) is crucial.Traditional CMS may only provide fixed models such as "articles" and "products", but when faced with rapid business changes and personalized content display needs, this limitation will become evident.AnQiCMS (AnQiCMS) understands this and therefore provides powerful custom content model features, allowing operators to build content structures that fully meet their own needs according to business characteristics.

2025-11-07

How to create independent pages such as 'About Us' and 'Contact Us' in AnQiCMS single-page management?

Certainly, as an experienced website operation expert, I am very willing to deeply analyze the essence of single-page management in AnQiCMS and guide you to easily master the creation and optimization of independent pages such as 'About Us' and 'Contact Us'. --- ## Single Page Management of Anqi CMS: Easily build independent pages such as "About Us" and "Contact Us" In modern website operations, independent pages such as "About Us" and "Contact Us" play a vital role.They are not only a window for displaying the corporate image and conveying core values, but also for users to build trust

2025-11-07

How to perform image classification and batch operations in AnQiCMS's image resource management?

As an experienced website operations expert, I am well aware that in the increasingly digitalized world of content, images are not just decorations, but also key elements to enhance user experience, optimize search engine rankings, and even carry brand value.In AnQiCMS (AnQiCMS) such an efficient and customizable content management system, how to intelligently manage a large amount of image resources so that they are both orderly and efficient is a core skill that every operator should master.

2025-11-07