In website operation, to make your content stand out in search engines, attract more target users, and cannot do without the careful setting of these three core elements: Title, Keywords, and Description (TDK).AnQiCMS understands the importance of TDK for SEO and has integrated a perfect dynamic TDK generation and management mechanism into the system design from the very beginning, allowing you to flexibly and efficiently optimize every page of your website.
AnQiCMS dynamic TDK mechanism overview
The AnQiCMS TDK dynamic generation strategy is very intelligent and flexible. It follows a set of priority principles:
- Use manual settings first:If you have explicitly set TDK for a page (such as an article, category, single page, or tag page) in the background, the system will use these custom values first.
- Intelligent automatic generation:If you do not manually set it, AnQiCMS will automatically extract and generate TDK based on the characteristics of the page content, ensuring that each page has basic SEO information.
- Template tag flexible call:In the front-end template, AnQiCMS provides powerful
tdktags, allowing you to customize the display and combination of TDK content according to different page types and needs.
Next, we will discuss in detail how to set up and use these dynamic TDK features in AnQiCMS.
Homepage TDK Settings: Website Front-end Optimization
The home page of a website is like the facade of a brand, its TDK settings are crucial, as they determine the initial understanding of the overall theme of your website by search engines.
You can access the AnQiCMS backend by【Background Settings】->【Home Page TDK Settings】to configure the Home Page TDK. Here, you can find three key fields:
- Home title:This is the most important title displayed on your website in the search engine results page (SERP). It is recommended to include your brand name and core business keywords, but avoid keyword stuffing.
- Homepage keywords: Used to hint the core theme of a website to search engines. Although its importance is not as great as before, a reasonable setting can still play a supporting role. It is recommended to choose 3-5 core keywords highly relevant to your business.
- Home page description:This is usually a brief summary displayed below the title on the search engine results page, designed to attract users to click. It should accurately summarize the content of the website and include some descriptions that can interest users.
Setting up the home page TDK reasonably can establish a solid SEO foundation for your website.
Content page TDK: The core of refined SEO.
The optimization of each specific page's TDK within the website is the key point of fine-grained SEO, excluding the homepage.AnQiCMS provides a convenient TDK setting entry for different types of content.
1. The TDK of article/product (document) page
In AnQiCMS, articles and products are regarded as "documents". When you[Add document]Or when editing an existing document, you will be able to find the[Other parameters]Fold area to find fields related to SEO:
- SEO Title:By default, the page's
<title>The tag will use the title of the document itself. However, if you want to display a more attractive or keyword-focused title for search engines, you can set the "SEO title" here separately.It will override the default document title and become the real one<title>Content. - Document keywords:Enter keywords highly relevant to the current document content, separated by English commas
,These keywords will be used for the<meta name="keywords">. - Document summary:This content is for the page
<meta name="description">The source of the tag. Summarize the document content in concise and clear language, and try to include core keywords to attract users to click.If left blank, AnQiCMS will intelligently extract the first 150 or so characters from the document content as the description. - Standard Link:If your website has multiple URLs with identical or very similar content, or content that is referenced by other websites, you can set the canonical URL here.This helps inform the search engine which is the 'main version' of the content, avoiding duplicate content issues and concentrating page authority.
2. TDK of Category Page
Each category page has a specific theme, optimizing its TDK can help improve the performance of the category list in search engines. InDocument CategoryWhen editing a category in the management interface, you will find[Other parameters]:
- SEO Title:Used to customize the category page
<title>. - Keywords:Keywords set for the category page, used for
<meta name="keywords">. - Category introduction:As a category page's
<meta name="description">, summarize the category content.
3. Single page TDK
For independent pages such as "About Us", "Contact Us", and others, the TDK settings are equally important. In【Page Management】while editing a single page, you can directly set:
- SEO Title:Custom single page's
<title>. - Keywords:Keywords of the single page.
- Single page introduction:Description of the single page.
4. Tag page's TDK
The tab aggregates content of the same type and is also an important entry point for users to discover content. In[Document Tag]When editing a tag in the management interface, you will find that:
- SEO Title:Custom tab of
<title>. - Tag keywords:Keywords set for the tab.
- Tag description:As a tab
<meta name="description">,Summarizing the tab content.
Flexible control of TDK calls and display in the template:
AnQiCMS provides a set of simple template tags to allow you to flexibly control the display of TDK. The core is the 'Universal TDK tag'.tdkThese tags are usually placed in the template file.<head>area.
Page Title (Title)
<title>{% tdk with name="Title" %}</title>
This tag intelligently retrieves the title of the current page. In addition, it supports some parameters to customize the display:
siteName=true:Automatically append the website name to the page title, such as: “Article Title - Your Website Name”.sep="_":Customize the separator between the website name and the page title, default to-.showParent=trueFor categories with hierarchical relationships (such as category pages), display the title of the parent category to enhance the sense of hierarchy and SEO relevance.
Example:
<title>{% tdk with name="Title" siteName=true sep=" | " %}</title>
This will produce a similar output.页面标题 | 您的网站名称effect.
Call page keywords (Keywords)
<meta name="keywords" content="{% tdk with name="Keywords" %}">
This tag will output the keywords set for the current page.
Call page description (Description)
<meta name="description" content="{% tdk with name="Description" %}">
This tag will output the description set for the current page.
Call specification link (CanonicalUrl)
Standard links are very important for SEO, especially in scenarios where content may be duplicated. AnQiCMS also provides the corresponding tags:
{%- tdk canonical with name="CanonicalUrl" %}
{%- if canonical %}
<link rel="canonical" href="{{canonical}}" />
{%- endif %}
This code will first check if there is a standard link, and if it exists, it will add it to the page header, which helps to avoid the penalty for duplicate content.
AnQiCMS's SEO-friendly design: More than just TDK
In addition to the fine management of TDK, AnQiCMS also provides a series of advanced SEO tools such as static URL, 301 redirect management, automatic Sitemap generation, Robots.txt configuration, keyword library management, and more.These features work together to form the powerful SEO optimization system of AnQiCMS, aimed at helping your website achieve better visibility and ranking in search engines, thereby attracting more precise traffic.
By using the dynamic TDK feature provided by AnQiCMS, you can not only ensure that every page of your website has complete SEO information, but also through the fine-grained settings options, it grants operators powerful SEO optimization capabilities, making your website content easier for search engines to find and understand.
Frequently Asked Questions (FAQ)
Q1: If I do not manually set the TDK for the article or category, how will AnQiCMS handle it?A1: AnQiCMS will intelligently generate it for you. For the title, it will use the name of the article or category itself. For keywords, possibly