How to set and accurately display the TDK (Title, Description, Keywords) on the homepage of AnQiCMS?

Calendar 👁️ 61

The homepage is like the digital facade of your enterprise or brand.It is not only the first impression of your visitors, but also the key for search engines to evaluate the core value of your website.The TDK - Title, Description, and Keywords on the homepage play a crucial role in Search Engine Optimization (SEO).A well-designed home page TDK can effectively improve the ranking of the website in search results, attract more target users to click, and ultimately bring considerable traffic and conversion.AnQiCMS (AnQiCMS) fully understands the importance of TDK and provides you with intuitive, powerful tools to make the setting and management of homepage TDK simpler than ever.

Set the home page TDK in AnQiCMS

Set the home page TDK in AnQiCMS, the operation process is clear and easy to understand, even beginners can easily get started.

First, please log in to your AnQi CMS admin interface.In the left navigation menu, you will see the 'Background Settings' option, click on it, and then select 'Home TDK Settings' from the submenu.

After entering the "Home TDK Settings" page, you will see three core input boxes, which correspond to the title, keywords, and description of the home page:

  • Home Title (Title)This is the title displayed on your website in the search engine results page (SERP) and also the text displayed in the browser tab.It directly tells users and search engines the theme of your website. When setting it, it is recommended to include your core brand name and the most important keywords, while keeping it concise and strong, usually recommended to be within 60 characters to ensure complete display in most search results.
  • Home page keywords (Keywords)Although modern search engines have adjusted the weight of keywords, proper settings still help search engines understand the subject category of your website.Here, you can fill in core keywords highly relevant to your website content.Please note that keywords should be separated by English commas,Separate and do not stack too much, it is usually recommended to choose 3-5 core keywords to maintain their relevance and scarcity.
  • Home page description (Description)This text is usually displayed below the search result title, providing a brief summary of your website content.An attractive description can effectively increase click-through rate. It should contain your main keywords and introduce your website services or product advantages in a clear, concise, and attractive manner. The word count is recommended to be controlled within 80-120 characters, as too long may be truncated by search engines.

After filling in, please make sure to click the save button at the bottom of the page, and your home page TDK settings will take effect immediately.One of the advantages of Anqi CMS is its built-in powerful SEO tools, with TDK configuration being an important part, aimed at helping your website achieve better search engine visibility.

Show the homepage TDK precisely in AnQiCMS template

In the AnQi CMS template system, the TDK content you set is displayed accurately on the website page<head>Tags within are the key steps to achieve SEO effects. Anqi CMS provides simple and powerful template tags to complete this task.

To call the homepage title you have set in the background in the template, you can use the universal TDK tag{% tdk with name="Title" %}. This label can directly output the home page title you have configured.If your website name is also an important part of your brand identity and you want to automatically add your website name at the end of the title, you can usesiteName=trueattribute. At the same time, throughsepAttribute, you can customize the separator between the title and the website name, for example{% tdk with name="Title" siteName=true sep=" - " %}It will automatically append the website name to the homepage title, forming an effect like "Your homepage title - Your website name".

Display the home page keywords and description directly, using them separately{% tdk with name="Keywords" %}and{% tdk with name="Description" %}This will read the corresponding content you configure in the background and place it in<meta name="keywords" content="..." />and<meta name="description" content="..." />in the tag.

In addition, adhering to SEO practices, canonical links (Canonical URL) are also important. You can use{% tdk with name="CanonicalUrl" %}To retrieve and display the specification link. To ensure that the label is only output when the specification link exists, we usually combine conditional judgment to use it, so as to avoid outputting empty or unnecessary labels:

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

By using the flexible application of the above template tags, you can ensure that the home page TDK content is displayed accurately in your website template, thereby providing the most accurate and valuable page information to search engines and optimizing your website's performance in search engine rankings.

Practical suggestions for home TDK settings

Setting the home page TDK is not just about filling in a few fields, it is an art of how to promote your website to search engines and potential customers. Here are some practical suggestions for setting the home page TDK that can help your website perform better in search engines:

  • unique, avoid repetitionMake sure your homepage title, description, and keywords are unique.Avoid repeating content with other pages (including your own internal pages) or your competitors' websites, as this helps highlight the uniqueness and relevance of your site.
  • closely adhere to the core theme of the website: TDK content should highly summarize the core business and main content of your website, making it clear to search engines and users. The TDK on the homepage represents the highest level theme of the entire website.
  • Naturally integrate with core keywordsIn the title and description, naturally integrate the main core keywords, but avoid overloading.Make sure the language is smooth and clear, allowing the text to be read smoothly and naturally, avoiding giving users a bad experience, and also avoiding search engine penalties.
  • Description should attract clicks: Description is not just about informing, but also about attracting. Writing a descriptive text that is compelling and can stimulate the user's desire to click can effectively improve the click-through rate.Try to include the unique selling points, latest activities, or service advantages in the description.
  • Regular review and updateMarket trends, user needs, and search engine algorithms will constantly change.It is recommended that you regularly (such as every quarter or every six months) check and update the homepage TDK to keep it always up-to-date, relevant, and**status.

Anqi CMS, with its SEO-friendly design and powerful built-in features, greatly simplifies the setting and management of website TDK.By flexibly using backend settings and template tags, you can not only accurately control the display of the home page TDK, but also lay a solid SEO foundation for your website, helping your content stand out in the digital world.


Frequently Asked Questions (FAQ)

  1. Question: If I haven't set the home page TDK in the AnQiCMS background, how will the website display?
    • Answer: If you have not explicitly set the homepage TDK in the Anqi CMS background, search engines will usually try to automatically extract some text from the content of your website's homepage as the title and description.This could lead to unsatisfactory display results, failing to accurately convey your core information, which may affect the SEO effect of the website and potential click-through rate.Strongly recommend you to configure manually,

Related articles

How does AnQiCMS handle the conversion of uploaded image webp format, large image compression, and thumbnail generation to optimize display performance?

In this era of pursuing speed and visual experience, the loading efficiency of website images is directly related to user retention and search engine rankings.We all hope that the images on the website can be presented in high definition and quickly displayed to the user.AnQiCMS provides us with a very practical solution in image processing, through functions such as WebP format conversion, intelligent large image compression, and diverse thumbnail generation, which help us easily optimize website images and make the website run more smoothly.### WebP Format Conversion: The Balance of Lightweight and High Definition WebP

2025-11-08

How to overview the key operational data display of the AnQiCMS backend homepage (such as document quantity, visit trend, inclusion situation)?

The AnQi CMS backend homepage: A smart overview of website operations In the ever-changing internet environment, an efficient and intuitive website operation backend is undoubtedly the key to controlling the overall situation for operators.AnQiCMS (AnQiCMS) fully understands this, and the design philosophy of its backend homepage is to present the core operational data of the website in a clear and easy-to-understand way in front of you, so that you can have a clear understanding of the health status and operational performance of the website at the first time.

2025-11-08

How to enable and display the captcha function correctly in the website's comment and message form?

When running a website, spam comments and malicious messages often cause headaches.They not only affect user experience, but may also consume server resources, and even reduce the professional image of the website. 幸运的是,AnQi CMS内置了验证码功能,可以帮助我们有效过滤这些不速之客,让网站环境更加清朗。Below, we will learn together how to enable and display the captcha function correctly in the website's comment and message form. ### Step 1: Enable captcha feature in the background First, we need to go to the management interface of the website background.Find 'Function Management' in the left navigation bar

2025-11-08

How to display友情链接 in front-end and add nofollow attribute according to needs?

Manage and display friend links in Anqi CMS, which not only helps to enrich the external connections of the website, but also is a delicate operation that needs to be fine-tuned during SEO optimization.It is particularly important to flexibly control the `nofollow` attribute according to requirements, which is crucial for maintaining the health of website links and the transmission of weight.Our Aiqi CMS provides intuitive and powerful features, allowing us to easily achieve these goals.--- ### Configure friend links in AnQi CMS backend Firstly, all the friend links displayed on the front end cannot be separated from the detailed configuration in the backend

2025-11-08

How to use the `include` tag in AnQiCMS templates, efficiently reuse and display common page header, footer and other modules?

When building a website, we often encounter such a scenario: the website header (Header), footer (Footer), sidebar (Sidebar), and navigation menu modules, almost appear on every page.These modules are not only similar in content, but also their structure and style need to be maintained consistently.If you write the same code for each page, it is not only inefficient, but also a maintenance nightmare if you need to make any changes, as you would have to adjust all pages one by one.Luckyly, AnQiCMS (AnQiCMS) understands the importance of template reuse

2025-11-08

How to use the `macro` macro function in AnQiCMS templates to define reusable content display segments to improve efficiency?

In AnQi CMS, efficiently managing website content and front-end display is the key to daily operations.When faced with some repetitive page elements, such as article list items, product cards, or buttons with specific styles, if you rewrite the code every time, it not only takes time and effort, but is also prone to errors, and future modifications and maintenance will become extremely complex.

2025-11-08

How to implement the template inheritance function of AnQiCMS, so that the content block display of master page and sub page can be overlaid and customized?

How template inheritance in AnQiCMS allows the parent page and child page to perform their respective functions?In website content management, maintaining consistent page style while being able to flexibly modify local content is a goal pursued by many operators.AnQiCMS uses a syntax similar to the Django template engine, providing us with an elegant solution, that is, the powerful template inheritance feature.With this feature, we can cleverly design master pages and subpages, making the website structure both unified and highly customizable.

2025-11-08

How to safely output user-generated content in AnQiCMS templates to prevent XSS attacks from affecting the display of the page?

The website content operation is in progress, user-generated content (UGC) is undoubtedly a valuable resource for enhancing the vitality and interactivity of the website.Whether it is comments, messages, forum posts, or articles edited with a rich text editor, all of these greatly enrich the information ecology of the website.However, potential security risks come with UGC, the most common and severe of which is cross-site scripting (XSS) attacks.If not prevented, malicious script code may be executed in the user's browser, stealing user data, and tampering with the page

2025-11-08