How to set and display search engine friendly TDK (Title, Description, Keywords) for AnQiCMS pages?

Calendar 👁️ 64

Search engine optimization (SEO) is an indispensable part of website operation, and the Title (title), Description (description), and Keywords (keywords) - known as TDK - on the website page are the foundation of SEO.They are the first step for search engines to understand the content of a page and a key factor for users to decide whether to click in the search results.For AnQiCMS users, the system is built with powerful and flexible TDK setting functions that can help you easily create search engine friendly pages.

This article will introduce how to set up and effectively use TDK in AnQiCMS, so that your website can perform better in search engines.

TDK: The 'business card' of the page in front of the search engine

TDK is like the first business card your website page hands out to the search engine.

  • Title (Title)This is the most important element on the search engine results page, which is the first text that users see. A good title not only accurately summarizes the content of the page but also attracts users to click.
  • Description (Description): Although it no longer directly affects ranking, a high-quality description is the 'slogan' on the search results page, which can effectively improve click-through rate (CTR) and allow users to choose your page among many results.
  • Keywords (Keywords)Although modern search engines no longer heavily rely on Meta Keywords tags, AnQiCMS still provides a setting entry as an auxiliary for content classification and self-reminder.What is more important, in AnQiCMS, the advanced SEO tools such as keyword library management and anchor text setting, combined with TDK strategy, can play a greater role.

AnQiCMS was designed with SEO-friendliness in mind from the beginning, providing TDK configuration options from global to specific pages, and supporting features such as pseudo-static and 301 redirection, laying a solid foundation for the website's SEO optimization.

Set TDK in AnQiCMS backend

AnQiCMS provides multi-level TDK settings to ensure you can finely manage the SEO information of each page.

1. Set the home page TDK

The TDK of the home page is the face of the entire website, usually configured in the global settings.

  • Operation path: Enter AnQiCMS backend, navigate to "Backend Settings" -> "Homepage TDK Settings".
  • Configure content:
    • Home title: This is the website homepage<title>The content of the label should include your brand name and core business keywords.
    • Home page keywords: Enter the main keywords of the website, separated by English commas.,Separate. It is recommended to choose 3-5 words highly relevant to the overall theme of the website.
    • Home page description: Concisely summarize the main business or content of the website, usually within 150 words, to attract users to click.

These settings will be used as the default TDK information for the website homepage, displayed to search engines when users visit the homepage.

2. Set the TDK for category pages.

The category page of a website is often an important entry point for users to browse and for search engines to crawl. It is crucial to set independent TDK for each category.

  • Operation path: Enter "Content Management" -> "Document Category", edit or add a new category.
  • Configure content: In the "Other Parameters" section of the category editing page, you will see:
    • SEO titleThis field allows you to set a unique Title for the category. If it is not filled in, the system may use the category name as the default title.
    • KeywordsFill in keywords directly related to the content of this category, separated by English commas,Separated.
    • Category introductionThis field content will be used as the Meta Description of the category page. It is recommended to write it carefully, summarize the category content, and enhance the user's willingness to click.

By configuring TDK separately for each category, you can ensure that the SEO information of each category page is highly relevant.

3. Set the TDK for a single page.

For pages such as "About Us" and "Contact Us", TDK settings are also required.

  • Operation path:Enter "Page Resources" -> "Page Management", edit or add a new single page.
  • Configure content:In the single page editing page, you will find:
    • SEO title: Used to customize the title of this single page.
    • Keywords: Fill in keywords related to the content of this single page.
    • Single page introductionThis field's content will be used as the single page's Meta Description.

4. Set the TDK of the document detail page.

Each document's (article, product, etc.) detail page is the smallest unit of website content, and the accuracy of its TDK directly affects the search visibility of the single piece of content.

  • Operation pathEnter "Content Management" -> "Publish Document" (or edit an existing document).
  • Configure contentIn the "Other Parameters" section of the document editing page, you will see:
    • SEO titleBy default, the document title will be used as the page's Title.But by the SEO title field, you can display a more optimized, more attractive custom title for search engines.
    • Document keywordFill in keywords highly relevant to the document content, separated by English commas,Separate. AnQiCMS also provides a keyword library management function for easy selection and management of keywords.
    • Document IntroductionThis field content will be used as Meta Description.If left blank, AnQiCMS will automatically extract the first 150 characters from the document content as a description, but this is usually not as accurate and attractive as writing it manually.

Display TDK in AnQiCMS template

AnQiCMS template system uses syntax similar to Django template engine, through 'Universal TDK tag'{% tdk %}You can flexibly call and display the page's TDK information in the template.The beauty of this tag lies in its ability to intelligently retrieve the TDK data of the current page, whether you are on the homepage, category page, single page, or document detail page.

These tags are usually placed in template files (such asbase.htmlor the header template of each page) of<head>Within the area.

1. Display of the page title (Title)

<title>{% tdk with name="Title" siteName=true sep=" - " %}</title>
  • name="Title": Specify to retrieve the page title.
  • siteName=trueThis will automatically append the website name to the page title, for example, “Article Title - Your Website Name”. This helps in brand exposure.
  • sep=" - ": Specify the separator between the website name and page title, default is hyphen-.

2. Display page keywords (Keywords)

<meta name="keywords" content="{% tdk with name="Keywords" %}">
  • name="Keywords"Specify the page keywords. Tags will automatically retrieve the keyword settings corresponding to the current page.

3. Display of page description (Description)

<meta name="description" content="{% tdk with name="Description" %}">
  • name="Description"Specify the retrieval of the page description. The tag will intelligently retrieve the corresponding description content of the current page.

4. Display of canonical link (Canonical URL)

The canonical URL is an important concept in SEO, used to inform search engines which is the 'authoritative' version of the content, to avoid duplicate content issues.AnQiCMS also supports its configuration and display.

{%- tdk canonical with name="CanonicalUrl" %}
{%- if canonical %}
<link rel="canonical" href="{{canonical}}" />
{%- endif %}
  • name="CanonicalUrl"Get the specification link of the current page.
  • By{%- if canonical %}Determine if there is a specification link. If it exists, output it to avoid outputting empty.link.

Configure these TDK tags uniformly in the template.<head>Part, it can ensure that the entire site pages can display their TDK information correctly and dynamically, providing clear page signals to search engines.

Practical tips and suggestions for setting TDK

Setting TDK reasonably is the key to improving SEO effectiveness. Here are some practical suggestions:

  1. UniqueEnsure that each page's Title and Description are unique. Duplicate TDK will weaken the SEO effect of the page.
  2. Relevance first: The Title, Description, and Keywords must be highly relevant to the content of the current page. Avoid using unrelated words to attract clicks.
  3. Title Writing:
    • Medium length: It is recommended to be within 60-80 characters, as longer ones may be truncated by search engines.
    • Keyword PriorityThe most important keywords should be placed at the beginning of the Title.
    • Contains brand wordsAdd the brand name at the end of the title to enhance brand exposure and recognition.
    • Attract clicksCombine user search intent, use numbers, unique selling points, or questions to attract users.
  4. Write Description:
    • Medium length: Usually within 120-160 characters, ensuring it can be fully displayed in search results.
    • Summarize the content.Summarize the core content of the page in a few sentences to stimulate user interest.
    • Integrate keywordsNaturally integrate the core keywords of the page but avoid repetition.
    • Call to ActionIf applicable, you can add a simple call to action (such as 'Learn more', 'Buy now').
  5. Keyword writing:
    • SimplifySelect 3-5 of the most core keywords that can represent the page content.
    • Avoid cluttering.Do not list a large number of keywords, as this will be regarded as cheating by search engines.
    • Multi-word phraseConsider using some long-tail keywords or multi-word phrases to improve precise matching.
  6. Utilize the automation features of AnQiCMS.:
    • If the document summary or category summary is not manually filled in, AnQiCMS will automatically extract the content, but this may not be optimized. Try to write manually to achieve **effect.**
    • Combine AnQiCMS's pseudo-static function to generate more descriptive and keyword-rich URLs, further enhancing SEO friendliness.

Summary

TDK is the foundation of website SEO, and AnQiCMS provides users with a comprehensive and intuitive TDK management and flexible template calling mechanism.By reasonably configuring the homepage, category page, single page, and document detail page TDK, and combining with other advanced SEO tools provided by AnQiCMS, you will be able to effectively improve the visibility and click-through rate of the website in search engines, laying a solid foundation for the successful operation of the website.


Frequently Asked Questions (FAQ)

Q1: Why did I set TDK, but the search engine still shows a different one?

A1:Search engines (especially Google and Baidu) may dynamically adjust or rewrite Title and Description based on users' search queries, page content quality, and other factors to provide the most relevant search results.This is usually to better match the user's intent. If the TDK you set is not highly relevant to the page content or does not accurately summarize the page, the search engine is more likely to generate it itself.Therefore, ensure that your TDK is high-quality, highly relevant, and attractive to reduce the probability of search engine rewriting.

Q2: Will AnQiCMS automatically generate TDK?

A2:Yes, AnQiCMS has certain automated functions. For example, if you do not fill in the "Document Description" or "Category Description" when publishing documents or editing categories, the system

Related articles

How to dynamically display the contact information of the website in AnQiCMS templates?

In website operation, clearly and accurately displaying the website's contact information is a key link in building trust with users and providing support.A contact method that is easy to find and keep updated, which can not only improve the user experience but also help users find you quickly when necessary.AnQiCMS as an efficient content management system provides a very flexible and intuitive way for you to dynamically display and manage this important information in website templates.

2025-11-08

How to correctly call and display the system configuration information in AnQiCMS templates?

Manage website content in AnQiCMS, it is not just to publish articles and products, but also includes the basic information, contact information, SEO metadata and other system-level configurations of the website.These configuration information is usually required to be displayed correctly on all pages of the website, such as displaying the website logo and name in the page header, displaying the copyright and filing number in the footer, or displaying the company's phone number and address on the contact us page.Properly and flexibly invoking these system configurations is the key to ensuring consistency, ease of maintenance, and SEO-friendliness of the website.AnQiCMS uses syntax similar to the Django template engine

2025-11-08

How to display common website elements, such as headers and footers, uniformly through template fragments (partial)?

When managing website content in Anqi CMS, you may find that many pages have similar structures, such as top navigation, footer copyright information, sidebar, or metadata tags, etc.If you have to write this code repeatedly for each page, it is not only inefficient, but also once you need to modify it, you have to search and update it page by page, which takes time and is prone to errors.Fortunately, Anqi CMS provides a very elegant solution - **template fragments (Partial)**, which helps us manage these common elements efficiently and uniformly.###

2025-11-08

How to customize the display template for specific documents, categories, or single pages?

When using AnQiCMS to manage website content, we often need to assign unique display styles and functional layouts to specific content types or unique pages.This kind of requirement is very common in content operation, for example, a product introduction page may need richer picture display and parameter comparison, while a news article focuses on the reading experience of text;Or it is the "About Us" page on the website, which needs to show a unique corporate culture.AnQi CMS provides flexible template customization features, allowing you to easily meet these personalized display needs

2025-11-08

How to implement a multi-level menu and content联动 display on the AnQiCMS website navigation list?

The website's navigation system is like the skeleton of a building, it not only guides users to browse but also directly affects the exposure of content and search engine optimization.AnQiCMS provides a flexible and powerful navigation management function, allowing you to easily build multi-level menus and achieve deep linkage with website content, thereby enhancing user experience and content distribution efficiency. ### Flexible configuration, build a multi-level navigation skeleton The starting point of implementing a multi-level menu in AnQiCMS is the navigation settings in the background.You can find all configuration items related to website navigation under the 'Background Settings' and 'Navigation Settings' first.

2025-11-08

How to display the title, category, time, and other core information on the AnQiCMS document detail page?

Manage website content in AnQiCMS, the document detail page is undoubtedly the core interface for users to obtain information.How to make this page both beautiful and informative is a concern for many website operators.Today, let's talk about how to elegantly display the title, category, publication time, and other key information on the document detail page of AnQiCMS.AnQiCMS uses a syntax similar to the Django template engine, which makes it very intuitive to call various data when customizing templates.

2025-11-08

How to filter and display a specific content list based on the 'recommended properties' of the document?

How to effectively organize and display a large amount of content when operating a website is the key to improving user experience and content value.AnQiCMS provides a very practical feature, that is, to refine the management and filtering of content lists through 'recommended attributes'.This not only makes the website content more dynamic, but also helps visitors find the information they are interested in more quickly.### Understanding "Recommended Properties": A Tool for Content Organization In Anqi CMS, when we publish or edit documents, we will find an option called "Recommended Properties"

2025-11-08

How to optimize the display and lazy loading of images and videos in document content?

In today's content-driven internet environment, images and videos have become key elements in attracting users and enhancing page interaction.However, they are often the main culprits that lead to slow website loading and a decline in user experience.As users of AnQi CMS, we are fortunate to have a powerful and flexible system that not only efficiently manages content but also has many built-in features to help us cleverly optimize the display of images and videos, and realize smart lazy loading, so that the content can also 'fly' while ensuring visual effects.

2025-11-08