How to set and call the TDK (Title, Description, Keywords) on the AnQiCMS backend homepage?

Calendar 👁️ 68

In AnQiCMS, the TDK (Title, Description, Keywords) settings on the homepage are an indispensable part of website SEO optimization, directly affecting the first impression of the website to search engines and the willingness of users to click on the search results to enter the website.AnQiCMS as a highly SEO-friendly content management system provides an intuitive and convenient way to manage this key information.

Why is the TDK on the homepage so important?

The website's Title (title) is the first sentence displayed to users on the search engine results page and is an important basis for whether they click or not.A meticulously written title can not only accurately convey the core content of the website but also attract the target users.

Description (description) is a brief summary of the website content, which appears below the Title and provides more information to the user to decide whether to click.An attractive description can effectively improve click-through rate.

Keywords (keywords) although the weight of keywords in modern search engine rankings has decreased, they still help search engines better understand the theme of the website and can have a supporting effect on rankings in some cases.Reasonably setting keywords helps to improve the search visibility of the website.

AnQiCMS understands the importance of TDK, therefore, these core SEO settings are integrated into the backend for fine management by users.

Set the home page TDK in AnQiCMS background

Setting the TDK of the website homepage is a direct and clear process. You just need to log in to the AnQiCMS backend management interface, and then follow the following steps:

  1. Navigate to the settings pageIn the left navigation bar, find and click“Background Settings”Options. After expanding, you will see a series of sub-items.
  2. Select home page TDK settingsIn the submenu of "Background Settings", clickHome TDK Settings. This will take you to a page specifically designed to configure Title, Keywords, and Description for the website homepage.

On this page, you will see three main input boxes, each corresponding to the TDK of the website home page:

  • Home titleThis input box is used to set the title displayed in the browser tab and search engine results page of the website home page.Enter the brand name, core business, or service of the website here, and integrate the main keywords. The character count is usually controlled within 30 Chinese characters or 60 English characters to ensure full display.For example, you can set it to "Company Name - Main Business | Leading Content Management System".
  • Home page keywordsFill in keywords highly relevant to the core content of the website. It is recommended to choose 3 to 5 core keywords and use English commas,Perform separation.These keywords should be the most frequently searched by users and accurately describe the website content.For example, 'Anqi CMS, Content Management System, Go Language CMS, Corporate Website'.
  • Home page descriptionThis area is used to write a brief description for the homepage of the website.This text will be displayed as a search engine result page summary, attracting users to click.The content should be concise and clear, summarizing the main features and advantages of the website, and naturally including some core keywords. The word count should be controlled within 100 to 150 Chinese characters or 200 to 300 English characters.For example, AnQiCMS is an efficient enterprise-level content management system developed in Go language, providing multi-site, SEO optimization, and flexible content models to help small and medium-sized enterprises easily build and manage websites.

After completing these settings, remember to click the button at the bottom of the“Save”page to make your TDK configuration effective.

Call the home page TDK in the template

AnQiCMS uses a flexible template tag system, making it very simple to call the TDK information set in the background on the front-end page of the website. Mainly through the versatiletdkTags to implement. These tags are usually placed in the HTML document's<head>Section.

  1. Call the website title (Title): Website's<title>Tags are one of the most important elements for SEO. You can call the "Home Title" set in the background in the template like this:

    <title>{% tdk with name="Title" %}</title>
    

    If you want to automatically add the website name as a suffix after the website title (for example, "Home Page Title - Website Name") and can customize the separator, you can usesiteNameandsepparameters:

    <title>{% tdk with name="Title" siteName=true sep=" - " %}</title>
    

    This will display a title like 'AnQiCMS Tutorial - AnQiCMS Official Website'.

  2. Call the website keywords (Keywords):<meta name="keywords">Tags are used to tell search engines the key themes of a website. The method to call 'Homepage Keywords' in the template is as follows:

    <meta name="keywords" content="{% tdk with name="Keywords" %}">
    
  3. Call the website description (Description):<meta name="description">Tags are the source of search engine result summaries. The code to call the "Home Description" is:

    <meta name="description" content="{% tdk with name="Description" %}">
    

Integrate the above code into your homepage template (usuallyindex.htmlorbase.htmlwasextendsin the part) of the<head>area, for example:

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 调用网站首页标题 -->
    <title>{% tdk with name="Title" siteName=true sep=" | " %}</title>
    <!-- 调用网站首页关键词 -->
    <meta name="keywords" content="{% tdk with name="Keywords" %}">
    <!-- 调用网站首页描述 -->
    <meta name="description" content="{% tdk with name="Description" %}">
    <!-- 其他头部信息,如CSS、Favicon等 -->
    <link rel="stylesheet" href="{% system with name="TemplateUrl" %}/css/style.css">
    <!-- ... -->
</head>
<body>
    <!-- 网站主体内容 -->
</body>
</html>

Optimization Tips

  • Regular Review and Update: Search engine algorithms and user needs will change continuously. It is recommended to review and update the homepage's TDK regularly (such as every quarter) to maintain its relevance and competitiveness.
  • Keyword researchBefore setting TDK, it is crucial to conduct thorough keyword research.Understand the keywords your target audience will search for and naturally integrate these keywords into the Title and Description.
  • Avoid keyword stuffingDo not stuff a large number of keywords in the Title and Description, as this will be regarded as cheating by search engines and may harm the website's ranking.The content should be smooth and user experience-centric.
  • Maintain uniquenessEnsure the TDK on the homepage is unique, distinguishing from the TDK of other pages on the website (such as article pages, category pages), to avoid internal competition and content repetition.

Through the convenient settings and flexible template calls of the AnQiCMS backend, managing the TDK of the website homepage becomes accessible.Follow SEO practices and you can lay a solid foundation for the search engine visibility of your website.


Frequently Asked Questions (FAQ)

Q1: I modified the homepage TDK in the background, when will the update be visible in the search engine results?

A1: After you modify and save the home page TDK in the AnQiCMS background, the system will immediately update the website's code.But, search engines (such as Baidu, Google) need some time to recrawl, analyze your website, and update their index.This process may take several days to several weeks, depending on the crawling frequency of search engines and the update activity of the website.You can submit a Sitemap or use the "Crawl Tool" in the search engine webmaster tools to request the search engine to speed up crawling speed.

Q2: Are the 'Keywords' in the homepage TDK still useful? How should I fill them out?

A2: Compared to Title and Description, Keywords have a very low direct weight in the current search engine ranking.Many search engines even publicly state that they no longer consider it a major ranking factor.However, it is not completely useless, some small search engines or specific algorithms may still refer to it.Therefore, it is recommended that you still fill in 3-5 keywords highly relevant and precise to the core business of the website, separated by English commas.Avoid stacking a large number of unrelated keywords.The focus should still be on optimizing the Title and Description, as they have a more direct impact on user click-through rate.

**Q3: AnQiCMS home page TDK settings and article/categorized page

Related articles

How does AnQiCMS implement pagination display on the article list page?

In website content operation, especially when the list content of articles, products, etc. becomes increasingly rich, how to efficiently display this information while ensuring user experience and website performance is a problem that needs to be carefully considered.Long list pages not only load slowly but also tend to make visitors feel tired.It is particularly important to reasonably introduce the pagination display function at this time.AnQiCMS as a powerful content management system fully considers this operation requirement.

2025-11-08

How to determine in the template whether the current page is an article detail page or a category list page, and display different content?

In the template development of Anqi CMS, it is a common requirement to display different content according to the type of the current page (whether it is an article detail page or a category list page).This not only makes the website user experience more personalized, but also provides more fine-grained control in SEO optimization.Luckyly, AnQi CMS's powerful template engine provides an intuitive way to determine the context of the current page and conditionally render accordingly.Understanding AnQi CMS template context The AnQi CMS template engine is very intelligent, it renders pages at runtime

2025-11-08

How to enable automatic image compression and WebP format conversion in AnQiCMS to improve page loading speed?

In today's fast-paced online environment, website loading speed has become a key indicator of user experience and search engine rankings.If your website has many images, they may be slowing down your website speed quietly.Fortunately, AnQiCMS fully considers this point and provides us with automatic image compression and WebP format conversion functions, which can effectively accelerate page loading and make your website fly.Why is image optimization so important?\n\nImagine when a user visits a page, if the images take a long time to display or load slowly

2025-11-08

How to safely output article content containing HTML tags in AnQiCMS templates (to prevent XSS)?

When processing article content that contains HTML tags in AnQiCMS templates, securely outputting is a crucial issue, as it directly concerns the safety and user experience of the website.Especially when the content of the article may be input by the background rich text editor, or when comments and messages submitted by users contain custom HTML, improper handling is likely to be attacked by cross-site scripting (XSS).AnQiCMS as a content management system that focuses on security and efficiency, provides the corresponding mechanisms to help us meet this challenge.Understanding Risk

2025-11-08

How to display a list of recommended content related to the current article on the article detail page?

In content operations, the value of a high-quality article is not only in itself, but also in its ability to guide readers to discover more valuable content.Properly displaying a list of related recommended content at the bottom of the article detail page is an effective strategy to improve user experience, extend visit duration, and reduce the bounce rate.For users of AnQiCMS, implementing this feature is quite direct and flexible.AnQiCMS with its concise and efficient architecture provides powerful template customization capabilities for content managers.Implement related recommendations for the article detail page

2025-11-08

How to call and render a custom Banner carousel in AnQiCMS template?

How to easily call and render a custom Banner carousel in AnQiCMS template?In website operation, the Banner carousel is an important element to enhance the visual appeal of the page, convey core information, and guide user behavior.AnQiCMS as a powerful content management system provides users with flexible ways to manage and call these custom Banners, allowing your website content to be displayed in a more vivid and dynamic way.### One, Back-end Management: Prepare content for Banner Carousel In AnQiCMS

2025-11-08

How to set the timing publication function when publishing articles, so that the content is displayed at the specified time?

## Master the Anqi CMS article scheduling publishing function: Let your content go online automatically during the golden time slot The timing of content release is often crucial in content operation.In order to coordinate with marketing campaigns, seize the peak of user activity, or simply maintain a stable rhythm of content output, the scheduling publishing feature is an indispensable tool for website operators.AnQi CMS understands this and provides an intuitive and convenient timed publishing option to make your content management more automated and efficient.When we carefully prepare a new article, hoping it will meet the readers at a specific time

2025-11-08

How to configure multilingual support for AnQiCMS and provide language switching functions on the website front end?

AnQiCMS (AnQiCMS) is an efficient and flexible content management system that fully considers the multilingual needs of enterprises in global operations.With its built-in features, we can easily configure multilingual support and provide visitors with intuitive language switching options on the website front-end.This not only helps us better reach users of different languages, but also lays a solid foundation for search engine optimization (SEO). Next, we will discuss step by step how to implement this feature in AnQiCMS.

2025-11-08