How to customize TDK (Title, Description, Keywords) in Anqi CMS to optimize the display of pages in search results?

Calendar 👁️ 71

In website operation, the display effect of the page in search results is crucial for attracting users and increasing traffic.Among them, TDK (Title, Description, Keywords) is the core element that search engines understand the content of the page and decide how to display it.AnQiCMS (AnQiCMS) provides users with flexible and powerful TDK customization features, helping us refine the page optimization to achieve better performance in search results.

This article will deeply explore how to customize TDK in Anqi CMS and combine actual operations to provide you with a set of effective optimization strategies.

Understand the importance of TDK.

Before starting to customize TDK, let's quickly review their meanings and their value to SEO:

  • Title (Title):This is the most prominent part displayed on the search engine results page (SERP), as well as the name displayed in the browser tab.A good title can attract users to click and clearly convey the theme of the page.
  • Description (description):The description is usually displayed below the title in the SERP, and is a brief summary of the page content.It does not directly affect ranking, but it can greatly influence the user's click intention, therefore, it is crucial to write an engaging description.
  • Keywords (keywords):The keyword is the term or phrase you think users may use when searching for related content.Although modern search engines have reduced the weight of keyword tags, they still help search engines better understand the theme of the page and play a role in some vertical searches.

The strength of AnQi CMS lies in its support for global TDK settings, as well as its ability to customize content of different types (such as articles, categories, tags, and single pages), even allowing for more advanced control at the template level.

Custom TDK in AnQi CMS: Hierarchical Management

AnQi CMS divides the custom TDK into several levels, allowing you to flexibly configure according to your actual needs.

1. Website Global TDK Settings (Homepage TDK)

This is the facade of your website, usually used to define the TDK information of the homepage. You can easily find and configure these settings in AnQi CMS:

  • Operation path:Log in to the Anqi CMS backend, navigate to "Backend Settings" -> "Home TDK Settings".
  • Configuration items:
    • Home title:Enter the core title of your website's homepage. It will be displayed on the homepage.<title>in the tag.
    • Homepage keywords: Enter the core keywords related to your website's overall business or theme. They will be displayed on the homepage.<meta name="keywords" content="">in the tag.
    • Home page description:Write a concise and engaging text that summarizes the main content and value of your website. This description will be displayed on the homepage.<meta name="description" content="">in the tag.

These global settings are the foundation of the entire website, especially crucial for the SEO of the homepage.

2. Optimization of TDK for content detail pages.

Except for the homepage, each article, product, category, tag, and even single page on the website has an independent TDK configuration option.This level of granularity is the key to boosting long-tail traffic and covering a wider range of user needs.

a. Article/Product Detail Page's TDK

In Anqi CMS, whether you are publishing new articles or editing existing articles/products, you can find the TDK settings area in the "Add/Edit Document" interface.

  • Operation path:Log in to the AnQi CMS backend, navigate to 'Content Management' -> 'Document Management' -> 'Add/Edit Document'.
  • Configuration items:Scroll down on the edit page to find the "Other Parameters" area:
    • SEO Title:If you wish to change the current page's<title>Label content is distinct from the title of the article/product itself, and can be customized here. This is very useful for optimizing page titles for specific keywords.
    • Document keywords:Enter keywords or phrases highly relevant to the current article/product content. It is recommended to use English commas,Separate multiple keywords to comply with search engine habits
    • Document summary:This content will automatically be displayed on the pagedescriptionLabel. If you do not fill it in, the system will automatically extract the first 150 words of the article content as a summary. It is recommended to write it manually to make it more attractive.
b. TDK of the category page.

Category pages usually aggregate multiple articles or products under a theme, and their TDK should reflect the breadth and representativeness of the category.

  • Operation path:Log in to the Anqi CMS backend, navigate to "Content Management" -> "Document Category" -> "Add/Edit Category".
  • Configuration items:Scroll down on the edit page to find the "Other Parameters" area:
    • SEO Title:Used for customizing category pages.<title>.
    • Keywords:Enter the core keywords related to this category.
    • Category introduction:The content here will serve as thedescription.
TDK of the tag page.

The tag page is usually used to aggregate content with the same 'tag' attribute, and its TDK should be more focused and specific.

  • Operation path:Log in to the Anqi CMS backend, navigate to 'Content Management' -> 'Document Tags' -> 'Add/Edit Tag'.
  • Configuration items:
    • SEO Title:Used to customize the tag page.<title>.
    • Tag keywords:Enter the most relevant specific keyword for this tag.
    • Tag description:The content here will be used as thedescription.
d. TDK for a single page

About Us, Contact Us, and other independent pages, although the content is relatively fixed, their TDK still needs to be carefully set.

  • Operation path:Log in to the AnQi CMS backend, navigate to 'Page Resources' -> 'Page Management' -> 'Add/Edit Single Page'.
  • Configuration items:
    • SEO Title:Used to customize single pages.<title>.
    • Keywords:Enter keywords related to the content of this single page.
    • Single page introduction:The content here will be used as thedescription.

3. Flexible application of TDK at the template level (advanced control)

For advanced users familiar with template development, Anqi CMS also providestdkThe universal tag allows you to directly control the output method of TDK in the template file, achieving a higher degree of customization. This tag automatically retrieves and outputs the corresponding TDK information based on the type of the current page (home page, article, category, tag, etc.) and the backend configuration.

  • Basic usage:In your template files (such ashead.htmlorbase.html), it is usually the following method to output TDK:

    <title>{% tdk with name="Title" siteName=true %}</title>
    <meta name="keywords" content="{% tdk with name="Keywords" %}">
    <meta name="description" content="{% tdk with name="Description" %}">
    
    • {% tdk with name="Title" siteName=true %}This will output the current page title and automatically append the "Website Name" configured in the background "Global Function Settings" (bysiteName=trueparameters control). You can also usesep="_"Custom separator between title and website name.
    • {% tdk with name="Keywords" %}: Output the keywords of the current page.
    • {% tdk with name="Description" %}: Output the description of the current page.
  • The application of the canonical URL specification:To avoid search engines from making incorrect judgments due to content repetition (for example, the same article accessed through different URLs), Canonical URL (standard link) is a very useful tool. Anqi CMS also supports outputting standard links in templates:

    {%- tdk canonical with name="CanonicalUrl" %}
    {%- if canonical %}
    <link rel="canonical" href="{{canonical}}" />
    {%- endif %}
    

    This code will first try to get the specification link of the current page. If the background has set a specification link for this page, it will be output to the page's<head>Chinese. This is very critical for precise SEO control.

TDK content writing skills

It is not enough to know where to set TDK, how to write high-quality TDK content is the core of optimization.

  1. Title (Title):
    • Uniqueness and accuracy:Ensure that each page title is unique and accurately reflects the content of the page.
    • Keyword integration:Naturally integrate the core keywords into the first half of the title, but avoid keyword stuffing.
    • Attract clicks:The title should be attractive,激发用户点击的欲望,can be added with numbers, questions, emotional words, etc. * **

Related articles

How to independently configure and display the content of each site in the Anqi CMS multi-site environment?

In today's rapidly developing digital age, many businesses and individual operators may not have just one website, but need to manage multiple brand sites, product display pages, or niche field blogs.How to ensure that in such a multi-site environment, each site's content can be independently configured, flexibly displayed, and maintain efficient management, which is a great challenge facing the operators.AnQiCMS (AnQiCMS) takes advantage of its powerful multi-site management function, providing an elegant and practical solution for this.The AnQi CMS was designed from the outset to consider the needs of multi-site operations

2025-11-09

How can Anqi CMS prevent the malicious collection of content and add watermarks to images for display?

Today, with the increasing importance of digital content, protecting original content from malicious collection and misuse has become a challenge for many website operators.Especially images, as the core carrier of visual information, the copyright protection should also not be neglected.AnQi CMS understands these pain points, therefore, in the system design, it especially integrates powerful anti-collection interference codes and image watermark functions, building a solid protective wall for our digital assets.### A clever layout to prevent malicious scraping Malicious scrapers often use automated programs to bulk harvest website content for unauthorized copying and distribution

2025-11-09

How to customize the display logic and content sorting of the search result page of Anqi CMS?

Optimizing the website's search results page, making it not only present information accurately but also sort intelligently according to user preferences, is a key link to improving user experience and website efficiency.AnQi CMS provides a powerful and flexible template engine and a rich tag library, making it intuitive and efficient to customize the display logic and content sorting of search result pages.In Anqi CMS, the search results page is usually controlled by a specific template file, which is located by default in the directory of the current template theme under `search/index.html` (or in flat mode under `search`)

2025-11-09

How to display user submitted content in the comment list or message board of Anqi CMS?

In website operation, user-generated content (UGC) is an important aspect for enhancing interaction and activity, whether it is the comments below the articles or the overall message board of the website, it can effectively promote user communication and feedback collection.AnQiCMS was designed with a strong emphasis on user interaction from the beginning and provides powerful and flexible features for managing and displaying the content submitted by users. In order to display user-submitted comments or messages on Anqi CMS, the key is to understand its template mechanism and the corresponding built-in tags.

2025-11-09

How to implement conditional judgment and loop traversal in the Anqi CMS template to control content display?

In Anqi CMS, templates are the core of website content presentation, they are not only responsible for the layout and style of content, but also bear the important responsibilities of displaying different content based on different conditions and cyclically presenting data lists.To make your website content more dynamic and interactive, it is particularly important to have a deep understanding of how to implement conditional judgments and loop traversals in templates.The Anqi CMS template engine uses syntax similar to Django, which allows you to quickly get started and flexibly apply it if you are familiar with web development.### Understand AnQiCMS

2025-11-09

How to use the `archiveDetail` tag in AnQi CMS to display custom field content of a document?

AnQi CMS has a flexible content model design that allows users to add various custom fields to documents according to their business needs.These custom fields greatly enrich the expression of the website content, whether it is to display product specifications, event details, or additional information of articles, it can be handled with ease.How can `archiveDetail` tag be cleverly used on the document detail page to display these valuable custom field contents?### Understanding the core function of the `archiveDetail` tag In the Anqi CMS template system

2025-11-09

How does AnQi CMS truncate long text content and add an ellipsis?

In website content operation, effectively displaying information while maintaining the page's cleanliness and the smoothness of user experience is a crucial link.Especially for long text content, how to truncate the display on the list page or overview section with an ellipsis is a common technique to improve the readability and aesthetics of the website.AnQiCMS (AnQiCMS) is a feature-rich management system that provides a flexible mechanism to meet this requirement at the template layer.

2025-11-09

How to correctly render Markdown content as HTML and display mathematical formulas or flowcharts in Anqi CMS?

In AnQi CMS, using Markdown format to write content not only improves editing efficiency, but also maintains the structuralization and readability of the content.When content involves complex mathematical formulas or a clear flowchart needs to be displayed, the strength of Markdown becomes evident.Our company provides good support for this, let's take a look at how to correctly render and display these advanced contents on the website.### Step 1: Enable Markdown Editor First, make sure that your CMS system has enabled the Markdown editor feature

2025-11-09