How to dynamically display Title, Keywords, and Description on the homepage to optimize SEO?

Calendar 👁️ 86

It is the first step in building a successful website to make it search engine friendly.And Title (title), Keywords (keywords), and Description (description) - commonly abbreviated as TDK - are the core elements of a website's conversation with search engines.They not only tell search engines about the content of your page, but also directly affect whether users click on your website in the search results.AnQi CMS understands this point, therefore it built powerful TDK management functions, allowing you to easily achieve dynamic display and optimization of TDK.

Dynamic display of TDK means that different pages can have unique and accurate titles, keywords, and descriptions, rather than using a set of static information site-wide.This has a significant positive effect on improving the ranking of a website in search engines (SEO) and the user experience.AnQi CMS makes everything simple and efficient through its flexible template tags and backend management interface.

Understand the TDK system of Anqicms

In Anqicms, the setting of TDK is divided into two main levels:

  1. Home page TDK:Provide an overall introduction on the portal page of the entire website.
  2. Content Page TDK:Including articles, products, categories, tag pages, and independent single pages, the TDK of these pages can be customized according to their specific content to achieve more refined SEO optimization.

The design principle of AnQi CMS is that if a content page does not have a separate TDK setting, the system will intelligently generate it according to the page content (such as article titles, summaries, etc.) or fallback to the global settings of the website, ensuring that every page has basic TDK information to avoid the negative impact of blank TDK on SEO.

Set the TDK of the website homepage

The home page of the website is where you showcase your brand and core business, and the setting of its TDK directly affects the first impression of the website for users and the crawling effect of search engines.

In the AnQi CMS backend, you can go to the "Backend Settings" under the "Homepage TDK Settings" to configure this key information:

  • Home title:This is the most important text that users see in the browser tab and search engine results. It is recommended to include your brand name and core business/services.
  • Homepage keywords: List the most relevant and important core keywords for your website. Separate multiple keywords with English commas,Separated.
  • Home page description:Provide a concise and attractive website overview that encourages users to click to enter. This description should also include core keywords while remaining natural and smooth.

These settings will be applied to the homepage of your website.

Dynamically optimize the TDK of articles, categories, tags, and single pages.

In addition to the homepage, each content page of the website is a potential traffic entry point.Setting personalized TDK for these pages is an effective strategy for improving long-tail keyword rankings and attracting specific user groups.AnQi CMS's 'Universal TDK Tag'tdkIt is the core tool to achieve this goal.

You need to add in the website template's<head>Area introductiontdkTags, usually in yourdefault.htmlorbase.htmlIn the common header template:

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <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 canonical with name="CanonicalUrl" %}
    {%- if canonical %}
    <link rel="canonical" href="{{canonical}}" />
    {%- endif %}
</head>
<body>
    {# 页面内容 #}
</body>
</html>

Let's interpret these tags and their parameters in detail:

  • <title>Tag (Page Title):
    • {% tdk with name="Title" siteName=true %}: This is the most common method.name="Title"Tell the system to get the title of the current page.siteName=trueIt will automatically add the website name as a suffix after the page title, which helps with brand exposure. If you want to customize the separator, you can usesep="_"set parameters such as.
    • The Anqi CMS will prioritize the 'SEO title' you set separately for the page in the background when retrieving the page title. If not set, it will use the page's own title (such as article title, category name, etc.), and finally fall back to the global title of the website.
  • <meta name="keywords" content="...">Tag (Page Keywords):
    • {% tdk with name="Keywords" %}: This tag will dynamically extract the keywords from the background settings of the current page.If you have not set a specific keyword for this page, the system may automatically extract or leave it blank (the specific behavior depends on your system configuration and content itself).
  • <meta name="description" content="...">Tag (Page Description):
    • {% tdk with name="Description" %}: This label will dynamically extract the description set in the background of the current page. If not set, the system will try to extract the page summary or main content as the description.
  • <link rel="canonical" href="...">Label (specification link):
    • {%- tdk canonical with name="CanonicalUrl" %}This tag is used to obtain the canonical link of the current page. The canonical link helps search engines identify the authoritative version of the page, avoiding SEO weight dispersion caused by URL parameters, content duplication, and other issues.Recommend pairingifUse for judgment, only output when the specification link exists.

By these tags, regardless of the type of page the user visits, Anqi CMS will intelligently present the most relevant TDK information.

Operation steps and precautions

Fully utilize the advantages of dynamic TDK, you need to make detailed settings in the corresponding content management area of the Anqi CMS backend:

  1. Article/Product Page:Access the "Content Management" -> "Publish Document/Edit Document" page, find the "Other Parameters" section on the editing page to set the "SEO Title", "Document Keywords", and "Document Description".
  2. Category page:Access the "Content Management" -> "Document Category", edit a category, and set "SEO Title", "Keywords", and "Category Description" in the "Other Parameters".
  3. Label Page:Access "Content Management" -> "Document Tags", edit a tag and you can set "SEO Title", "Tag Keywords", and "Tag Description".
  4. Single page:Visit the "Page Resources" -> "Page Management", edit a single page, and you can set the "SEO Title", "Keywords", and "Single Page Description"。

Tip:

  • Content is king:No matter how exquisite the TDK settings are, high-quality original content is always the foundation of SEO.
  • Keyword research:Before setting keywords, conduct thorough keyword research to understand the search habits of the target audience.
  • Attractiveness of the description:Description is not only for search engines to see, but also for users to see. Writing an attractive description can improve click-through rate.
  • Avoid stacking:Keyword stuffing can result in search engine penalties. Ensure that TDK content is natural and fluent, in line with user reading habits.
  • Regularly check:With the update of website content and the change of market trends, it is necessary to regularly check and optimize TDK.

AnQi CMS provides a powerful and easy-to-use TDK management mechanism, allowing you to focus on creating high-quality content while ensuring your website performs excellently in search engines and attracts more target users.


Frequently Asked Questions (FAQ)

  1. Ask: Why did I set the page's TDK, but still see automatically fetched content in the search results?Answer: Search engines need time to crawl and update website information, and your TDK changes may not be displayed immediately

Related articles

How to customize contact information parameters in AnqiCMS and call them to display in the template?

It is crucial to maintain smooth communication with users in website operation.In addition to traditional contact methods such as phone and email, we often need to display more personalized social media or instant messaging information.AnqiCMS provides a very flexible contact information management module that allows you to easily customize and flexibly display this information at any location on the website.Next, we will divide it into two main steps to explain in detail how to customize contact information parameters in AnqiCMS and call them to display in the template.### One, in AnqiCMS

2025-11-07

How to retrieve and display the contact, phone number, address, and other information configured in the background?

It is crucial to clearly display a company's contact information in website operations to establish customer trust and promote communication.Whether it is the contact name, phone number, office address, or social media account, this information needs to be easily accessible to users in a prominent position on the website.The AnQi CMS provides a convenient solution, allowing you to manage and display these key information flexibly without writing complex code. ### Configure your contact information in the background The Anqi CMS backend is designed to make it easy for you to manage your website content, including your contact information.

2025-11-07

How to call and format the display of the website filing number and copyright information in AnQi CMS templates?

During the operation of the website, the filing number and copyright information are indispensable elements, which not only concern the legality of the website but also reflect the professionalism of the website.For websites built using Anqi CMS, it is a very basic but important skill to flexibly call and format these information in the template.Luckyly, AnQi CMS provides a simple and powerful template tag system, making it extremely easy to call the website filing number and copyright information.Next, let's see how to achieve this goal in Anqi CMS templates.

2025-11-07

How to effectively display the site name and Logo configured in the AnQi CMS backend on the front-end page?

In website operation, the name and logo of the site are the cornerstone of the brand image, they are not only an important sign for visitors to identify the website, but also a key to conveying brand value and building trust.AnQiCMS is a powerful content management system that fully considers this requirement, providing an intuitive and convenient way to configure and display these core brand elements.Next, let's discuss how to effectively use the site name and Logo configured in AnQiCMS to bring vitality to the frontend page.

2025-11-07

How to control whether the website name suffix is displayed in the homepage title TDK tag?

If you are using AnQiCMS to build or manage your website, you may encounter a common and important issue: how to finely control whether the website name is displayed as a suffix in the `<title>` tag on the home page.This not only concerns the display effect of the website in search engine results, but also directly affects users' perception of the brand.The AnQi CMS, as a content management system that focuses on SEO optimization and flexibility, provides simple and powerful control capabilities in this aspect.First, let's clarify what is meant by the "website name suffix" mentioned here

2025-11-07

How to create and manage a website navigation menu and implement the display of secondary navigation?

The website's navigation menu, like the skeleton and landmark of the website, guides visitors to quickly find the information they need, and is the core of user experience and website information architecture.A clear and intuitive navigation system not only enhances user satisfaction, but is also crucial for search engine optimization (SEO).AnQiCMS was designed with this in mind from the outset, providing a flexible and easy-to-operate navigation menu management function, allowing website operators to easily build and maintain the navigation system of the website.

2025-11-07

How to judge the current link status in the navigation list tags and add a highlight style?

In website operation, clear navigation is a key factor in improving user experience.When users can intuitively see their location on the current page, it not only reduces the sense of being lost but also improves the professionalism and usability of the website.Adding a highlight style to the current link in the navigation bar is a very effective way to achieve this goal.In Anqi CMS, highlighting the current link of the navigation item is actually simpler and more direct than you imagine.

2025-11-07

How to dynamically display the list of articles or products under a category in the navigation dropdown menu?

AnQi CMS: Build dynamic dropdown navigation menus to make content easily accessible In website operation, the navigation menu is the starting point for users to explore website content, and it is also an important clue for search engines to understand the website structure.The traditional navigation menu is often fixed links, when the website content becomes increasingly rich, especially when there are many articles and product types, manually maintaining the content list in the dropdown menu becomes particularly繁琐 and prone to errors.The AnQi CMS provides us with an elegant and efficient solution with its powerful content management capabilities

2025-11-07