As an experienced security CMS website operation personnel, I know the importance of tags in content management and website optimization.Labels are not only an effective tool for organizing content, but also a bridge that connects users with relevant information, playing an indispensable role in enhancing user experience and search engine visibility.Next, I will elaborate on how to add and manage Tag tags in AnQiCMS, and how to flexibly use them on the website front-end.

Understand Tag tags in AnQi CMS

The Tag label function of AnQi CMS is designed specifically for content (such as articles and products), aiming to provide another way of content association besides traditional classification.You can consider tags as 'topics' that categorize content around specific themes or keywords.The uniqueness of tags lies in their not being confined to specific categories or content models, which means that the same tag can be applied to content of different categories and even different models, greatly enhancing the cross-referencing ability of content.

Add and apply tags in the content

Adding tags to articles or products in AnQiCMS is a straightforward and efficient process. When you create or edit documents in the backend, you will see the 'Tag label' input box.

In the input box, you can directly enter a new tag. After you enter a tag name, press the Enter key, and it will automatically be converted into an independent tag.If you want to add multiple tags, just repeat this process.The system also supports selecting tags from existing tag libraries, which ensures consistency and standardization of tags, avoiding the creation of duplicate or similar tags.

This flexible way of adding tags allows operators to immediately link new content to related topics or keywords that already exist on the website, which is crucial for building a rich content network.

Manage your document tags

AnQiCMS provides a centralized label management interface, you can access it through the "Document Tags" feature under "Content Management".Here, you can view, add, edit, and delete all tags on the website comprehensively.

Each tag has multiple configurable properties to maximize its value in website operations:

  • Tag NameThis is the text displayed on the front-end page for the label, it should be concise and clear, accurately reflecting the theme represented by the label.
  • Index letterTo specify an A-Z index letter for a tag, it helps to classify it when sorting in a tag cloud or tag list.
  • Custom URLTo optimize search engine performance, you can set a custom static URL for each tag.This URL must be unique across the entire site and can only contain letters, numbers, and underscores, avoid using spaces.A friendly URL structure is crucial for SEO.
  • SEO title: You can set a separate SEO title for the tab page, which will display in the browser title bar and help search engines understand the core theme of the tab page.
  • Tab keywords: Enter the main keywords related to the label content, separated by English commas. This helps search engines better index the label page.
  • Tab description: The label introduction will serve as the description information for the label page (usually corresponding to the Meta Description tag), providing a brief overview of the label content for search engines and users.
  • Label content: You can add a detailed descriptive content for the tag page, which will be very useful for displaying on the front end and enriching the information of the tag page.

By managing these tag attributes meticulously, operators can ensure that each tag can effectively organize content and achieve good display and ranking in search engines.

Display and utilize labels on the front end

The AnQiCMS template tag system provides powerful functions, allowing you to flexibly display and utilize tags on the website front-end. It mainly involves three core template tags:

  • tagListDocument Tag List LabelThis tag is used to retrieve the tag list related to a specific document or the entire website.You can display all the tags of the article on the article detail page, as well as display popular tags in the sidebar or footer.For example, through{% tagList tags with itemId=item.Id limit="10" %}You can get 10 related tags of the current document and then loop through them{% for item in tags %}<a href="{{item.Link}}">{{item.Title}}</a>{% endfor %}Show them. This display method not only enhances the discoverability of the content, but also makes it convenient for users to navigate to other related content through tags.
  • tagDetailTag Details LabelThis tag is used to get detailed information about a specific tag, such as the title, description, and custom URL.It is usually used on the label detail page to display the metadata of the label itself, or to call the detailed content of a specific label on other pages. For example,{% tagDetail with name="Title" id="1" %}You can get the title of the tag with ID 1.
  • tagDataListTag Document List LabelAfter a user clicks on a tag, they usually want to see a list of all the content marked with that tag.tagDataListThe tag is born for this, it retrieves all related documents based on the specified Tag ID. Through{% tagDataList archives with tagId="1" type="page" limit="10" %}You can retrieve all documents with Tag ID 1 and support pagination.This provides users with an effective way to delve into content by topic, embodying the core value of the tag function.

The optimization value of the tag

The Tag feature of AnQi CMS is not just simple content organization, it also has important optimization value for many aspects of website operation:

Firstly, the tag enhancesDiscoverability of content. By adding multiple related tags to the content, you can connect it from different dimensions, making it easier for users to find the information they are interested in, thereby extending the time users stay on the website.

Secondly, the labels matchSearch Engine Optimization (SEO)Playing a key role. Each tag page may become a potential keyword landing page, and by setting independent SEO titles, keywords, and descriptions for tags, it can increase the website's inclusion and ranking opportunities in search engines.The custom URL structure also further enhances the SEO-friendliness of the tab page.

Lastly, the labels enhanceUser ExperienceAn effective means. A clear labeling system helps users quickly understand the content structure and thematic distribution of the website.Users can filter and browse content quickly by clicking on tags according to their interests and preferences, making navigation more personalized and efficient.

By carefully planning and managing your Tag tags, Anqi CMS can help you build a website that is rich in content, well-structured, and friendly to search engines.


Frequently Asked Questions (FAQ)

Ask: How many Tag tags can I add in a document?Answer: Anqi CMS allows you to add multiple Tag tags to a single document, but to maintain the focus of the content and the effectiveness of the tags, we recommend that you add 3 to 5 tags that best represent the core theme of each document.Too many tags may dilute the weight of each tag and may lead to confusion in tag management.

Ask: What is the difference between Tag tags and categories, and how should I choose to use them?Answer: Category (Category) is usually used for hierarchical content organization, with stronger parent-child relationships, and is the backbone of the website content.And the Tag label focuses more on the horizontal connection of content, not emphasizing the hierarchy, more like the 'keywords' or 'topics' of the content, which can be associated across categories.When used in selection, categories are used to define the macro structure of content, while tags are used for micro-refinement and multi-dimensional association.For example, an article belongs to the "news" category, but can also be tagged with "technology", "new product", "market analysis", and so on.

Ask: Will changing the name or URL of the Tag tag affect the existing content links?Answer: If you change the name of the Tag label or the custom URL, the existing tag page links (if your pseudo-static rules use the label name or URL alias) may become invalid, resulting in a 404 error when users visit.To avoid this situation, it is strongly recommended that you use the built-in 301 redirect function of the Anqi CMS after modifying the URL of the Tag tag to redirect the old tag URL to the new URL to maintain the validity and SEO weight of the link.For modifying the label name, if your pseudo-static rules do not depend on the label name, the impact is smaller.