It is crucial for website operations to let search engines better understand and display our content.This configuration of page TDK (Title, Description, Keywords) plays a core role.The Anqi CMS provides us with flexible and powerful TDK management functions, allowing us to optimize search engine optimization accurately according to the characteristics of different pages.

Next, we will step by step understand how to configure these key TDK information in Anqi CMS.

1. Global settings for the website homepage TDK

The homepage is the facade, and the setting of its TDK directly affects the first impression of the entire website in search engines. In Anqi CMS, we can easily manage the TDK of the homepage.

  1. Go to the settings pageFirstly, log in to the Anqi CMS backend management interface. In the left navigation bar, find and click "Backend Settings", then select "Home TDK Settings".
  2. Configure Home Page Title (Title)In the "Homepage Title" field, enter the title you want to display on the website homepage in the search engine results page (SERP).The title should be concise and clear, including the core business or brand name of the website, and try to attract users to click.It is not only for search engines to see, but also for users to see.
  3. Configure Home Page Keywords (Keywords): Then, enter highly relevant core keywords related to your website theme in the "Home Keywords" field. Separate multiple keywords with English commas,Comma. Although modern search engines have reduced the weight of keywords, reasonable settings still help search engines understand the main content direction of a website.Avoid keyword stacking, this may have the opposite effect.
  4. Configure home page description (Description)Finally, fill in the 'Home Description'. This is a brief overview of the content of your website's homepage, which is often displayed below the search engine results title.An engaging description that includes core keywords, capable of effectively increasing click-through rate.It is recommended to describe the content succinctly, with moderate word count, and to summarize the overall value of the website.

These home page TDK settings are global and apply to the default home page of the website.

Second, set TDK for specific content pages.

In addition to the homepage of the website, the large number of articles, products, and other specific content pages we publish also need independent TDK to optimize the search performance of individual pages more accurately.

  1. Article and Product TDKWhen you publish or edit documents (such as articles, products) in the "Content Management", there will be a collapsed area called "Other Parameters" at the bottom of the editing interface.Expand it, and you will see the 'SEO Title', 'Document Keywords', and 'Document Summary' fields.
    • SEO titleThis field allows you to set a special title for the current article or product that is used for search engines and will override the default title of the page.If left blank, the system will usually use the title of the article or product itself as the SEO title.
    • Document keywordFill in the keywords closely related to the current content, separated by English commas.
    • Document IntroductionThis field is a brief description of the current content. If you leave it blank, Anqicms will automatically extract a part of the article content as a brief introduction.Suggest writing manually to ensure the accuracy and attractiveness of the description.
  2. Document Classification TDKIn the "Content Management" "Document Category" page, whether you are creating a new category or editing an existing one, after clicking to enter the editing interface, you can also find the fields of "SEO Title", "Keywords", and "Category Description" in "Other Parameters".These settings are specifically used to optimize the search performance of the category list page.For example, a category named 'Industry Information' can emphasize 'Latest Industry Trends' in its SEO title, add 'Industry Trends' to the keywords, and outline the type of information provided by this category in the category description.
  3. Single Page TDKFor static single-page pages such as 'About Us' and 'Contact Us', the configuration of TDK is also important.Go to the "Page Resources" under "Page Management", when adding or editing a single page, you will see the "SEO Title", "Keywords", and "Single Page Description" fields.The purpose of these fields is similar to the TDK settings on article and category pages, allowing you to optimize the search effects of these independent pages specifically.
  4. Document Tag TDK: A tab is another form of aggregation of website content, and its TDK configuration is also worth paying attention to.On the "Content Management" "Document Tag" page, when you add or edit a tag, you will find the fields of "SEO Title", "Tag Keywords", and "Tag Description."}By reasonable settings, it can enhance the visibility of the tag aggregation page in search engines, attracting users interested in specific topics.

Flexible control of front-end TDK display (through template tags)

The template engine of Anqi CMS provides powerfultdkLabel, allowing you to flexibly control the display of TDK in the theme template. This is especially useful for websites that require high customization or have special display needs.

  1. Basic usageIn the template,tdkThe tag can directly obtain the Title, Keywords, and Description of the current page.
    • Get page title:<title>{% tdk with name="Title" %}</title>
    • Get the page keywords:<meta name="keywords" content="{% tdk with name="Keywords" %}">
    • Get page description:<meta name="description" content="{% tdk with name="Description" %}">
  2. Personalized display of the title.:tdkThe tag supports additional parameters when retrieving the Title to meet different display needs.
    • siteName=true: If you want to automatically append the website name as a suffix after the page title, you can use this parameter, for example<title>{% tdk with name="Title" siteName=true %}</title>.
    • sep="_": The default separator is the hyphen-You can usesepThe parameter customizes the separator between the title and the website name, for example<title>{% tdk with name="Title" siteName=true sep="_" %}</title>.
    • showParent=true: This parameter is very useful on the category page if you need to display the title of the parent category.
  3. Standard Link (Canonical URL)To avoid SEO problems caused by content repetition,tdkthe tag also provides the function to obtain the link to the current page specification:
    • <link rel="canonical" href="{% tdk with name="CanonicalUrl" %}" />We usually check if the standard link exists before outputting, for example: {%- tdk canonical with name="CanonicalUrl" %}{%- if canonical %}<link rel="canonical" href="{{canonical}}" />{%- endif %}.

By these flexible configurations and template tags, you can ensure that each page has optimized TDK information, thereby enhancing the visibility and attractiveness of the website in search engines.Continuously focusing on the optimization of TDK, combined with high-quality content, is an effective way to increase website traffic and improve user experience.


Frequently Asked Questions (FAQ)

  1. Why did I set TDK, but the title and description indexed by the search engine are not consistent with what I set?The search engine has its own algorithm to determine what title and description to display in the search results.Even if you carefully set up the TDK, search engines may also generate or adjust the display of TDK based on users' search queries, page content quality, and other relevant factors.Generally, as long as the TDK content you set is accurate, does not contain keyword stuffing, and the page content is highly relevant to the TDK, search engines will still prioritize your settings.This is a normal phenomenon, the key is to provide high-quality and relevant TDK to guide search engines to understand the page.

  2. Are keywords in TDK better when there are more of them, or should I include all possible keywords?Keywords are not the more, the better. On the contrary, overstuffing keywords (Keyword Stuffing) may be considered as cheating behavior by search engines, leading to a drop in page ranking and even being penalized.It is recommended that you focus on 2-3 core keywords highly relevant to the page content, ensuring that these keywords are naturally integrated into the title and description.The quality and relevance of keywords are more important than quantity, the purpose is to allow search engines and users to clearly understand the theme of the page.

  3. If I have not set the TDK separately for a particular article or category page, how will Anqi CMS handle it?The Anqi CMS has certain intelligence in the handling of TDK. If you have not set the "SEO title", "keywords", or "description" separately for specific articles, products, categories, or single pages, the system will usually adopt the following strategy:

    • Title: The default title will be used for the content.
    • Keywords: It will usually be left blank, or in some configurations, it will try to extract keywords from the content.
    • description: It usually automatically extracts the first 150-200 characters from the page content as a description.Although the system has a default processing mechanism, we strongly recommend manually configuring TDK for all important pages to ensure their relevance and attractiveness.