As a website operator who is well-versed in the operation of AnQiCMS, I fully understand the core value of TDK (Title, Description, Keywords) information for website search engine optimization (SEO).High-quality TDK is not only the key for search engines to understand page content, but also the cornerstone for attracting users to click and enhancing website traffic and conversion rates.AnQiCMS as an enterprise-level content management system has fully considered SEO requirements from the beginning of its design, providing powerful and flexible TDK management and template calling mechanisms.
TDK in AnQiCMS Management and Importance
AnQiCMS integrated TDK settings into all aspects of content management, ensuring that each page of content has precise metadata.This includes but is not limited to the homepage, article detail page, category list page, single page, and tag aggregation page.Through detailed TDK configuration, the website can accurately convey the page theme to search engines, improve ranking in search results, and guide users to visit with attractive titles and descriptions.
For the home page of the website, AnQiCMS allows operators to uniformly configure the website's Title, Keywords, and Description through the "Home Page TDK Settings" in the background.This provides global control for shaping the brand image and highlighting the core business keywords.On the content level, whether it is publishing new articles, products, or managing categories and single pages, the system provides independent SEO title, keywords, and summary fields.These fields allow operations personnel to customize SEO copywriting for specific content, avoiding the negative impact of duplicate content on SEO and enabling more precise matching of user search intent.For example, when adding a document, there are special fields such as 'SEO Title', 'Document Keywords', and 'Document Description'; in the 'Document Category' management, 'SEO Title', 'Keywords', and 'Category Description' are also provided; similarly, 'Single Page Management' and 'Document Tags' also have similar TDK customization functions.
AnQiCMS supports pseudo-static rules and 301 redirect management, ensuring the friendliness of URL structure, which is crucial for search engine crawling and indexing.At the same time, advanced SEO tools such as Sitemap generation, keyword library management, and more also provide strong support for the implementation of TDK strategies.
Get TDK Information in AnQiCMS Template
AnQiCMS's template system is based on Django template engine syntax, providing powerful tags to dynamically obtain page TDK information. Among them, the 'Universal TDK tag'tdkIt is the core tool we use to obtain the current page TDK information in the template. It can intelligently obtain and output the corresponding TDK data according to the type of the current page (home page, article, category, single page, tag, etc.).
Get page title (Title)
In<head>Within the tag, we need to dynamically set the page title. UsetdkThe label acquisition page title is very intuitive. By default, it will retrieve the optimized title of the current page.
<title>{% tdk with name="Title" %}</title>
To better display the brand and SEO, we may need to add the website name after the title.tdkTags providesiteNameParameters, when set totrueWhen this occurs, the website name will automatically be appended to the end of the page title. We can also customize the separator for the title, by using parameters such as underscores.septo set it, for example, using underscores._As a delimiter. In addition, for the title of the category page, if you need to display the title of the parent category, you canshowParentthe parameter.
{# 显示网站名称后缀,使用短横线作为分隔符(默认行为) #}
<title>{% tdk with name="Title" siteName=true %}</title>
{# 使用下划线作为分隔符 #}
<title>{% tdk with name="Title" sep="_" %}</title>
{# 对于分类页面,显示父级分类的标题 #}
<title>{% tdk with name="Title" showParent=true %}</title>
Get the page keywords (Keywords)
The page keywords are an important clue for search engines to understand the theme of the page, although their weight has decreased, reasonable settings are still beneficial. ThroughtdkTags, we can easily obtain the keywords of the current page.
<meta name="keywords" content="{% tdk with name="Keywords" %}">
Get the page description (Description)?
The page description is the content summary that users see in the search results, which directly affects the click-through rate. An attractive description can effectively improve the exposure effect of the page.
<meta name="description" content="{% tdk with name="Description" %}">
Obtain the page's canonical URL
The standard link is crucial for resolving content duplication issues, it tells search engines which is the "authoritative" version of the page.AnQiCMS also provides a mechanism for obtaining standard links.Since not all pages must be set with a standard link, we usually first check if it exists.
{%- tdk canonical with name="CanonicalUrl" %}
{%- if canonical %}
<link rel="canonical" href="{{canonical}}" />
{%- endif %}
ExcepttdkUniversal tag, for specific content types, we can also directly obtain TDK information through its detail tags. For example,archiveDetail/categoryDetail/pageDetailandtagDetailthese tags also provide direct accessSeoTitle/Keywords/DescriptionThe ability to wait for fields, which can be very useful in some customized scenarios.tdkThe advantage of tags lies in their versatility and intelligent judgment, which can automatically obtain the most suitable TDK information based on the current page context.
SEO optimization strategy for TDK information
Effectively manage and call TDK information in AnQiCMS, which is a key step in website SEO optimization.But it is not enough to just obtain and display this information; what is more important is how to strategically use them.
Fully utilize the "Keyword Library Management" feature of AnQiCMS to conduct a detailed keyword research, which is the foundation for formulating TDK strategy.Through analyzing user search habits and industry hot words, select keywords with high relevance and moderate search volume, and arrange them reasonably in the title, description, and content of the page.AnQiCMS also supports features such as 'keyword auto-expansion' and 'keyword auto-collection', which can help operation personnel build and maintain a keyword library more efficiently.
Write the page title in a way that it includes core keywords and is attractive to user clicks.The title length should be controlled within the range recommended by search engines, and keyword stacking should be avoided.AnQiCMS provided “SEO title” field is specifically designed for this purpose, allowing us to write a dedicated optimized title for each page that is displayed in search engines, rather than just using the default title of the article or category.
Description optimization is also important.An high-quality Meta Description should not only contain keywords, but also use concise and engaging text to summarize the page content, stimulating the interest of users.It should be like a mini-advertisement, precisely conveying the value of the page.The "Document Introduction", "Category Introduction", and other fields of AnQiCMS provide us with direct editing entries.
The correct use of the canonical URL can avoid duplicate content issues caused by URL parameters, multi-version pages (such as mobile version and PC version content being the same but with different URLs), and concentrate the SEO weight of the page. AnQiCMS provides a 'canonical link' field in document and category settings, combined with the template intdkTags can ensure that the search engine correctly identifies the main page.
In addition, AnQiCMS's 'pseudo static rules' can optimize the URL structure, making it more readable and semantically meaningful, which helps search engines better understand the content of the page.Regularly generate Sitemap and configure Robots.txt, which can guide search engine spiders to efficiently crawl and index website content, avoiding unnecessary crawling waste.
By combining these features and strategies, AnQiCMS not only simplifies the TDK management process, but also empowers website operators to continuously improve the performance of their websites in search engines through professional SEO means.
Common Questions and Answers (FAQ)
The website operator may encounter some common problems when using AnQiCMS to manage and optimize TDK.
1. Why is my page's TDK information not displayed or updated correctly?
Please check whether you have filled in the SEO title, keywords, and description fields correctly in the corresponding content editing interface of AnQiCMS backend (such as document editing, category editing, single page editing, home page TDK settings).If the content has been saved but the front-end template has not been updated, it may be a browser cache issue. Please try clearing the browser cache or accessing in incognito mode.tdktags to call this information, for example<title>{% tdk with name="Title" %}</title>If you have set a custom template for a specific page, please also check whether the custom template includes the call tag for TDK.
2. How to ensure that different types of pages (such as articles, categories, single pages) have unique TDK?
AnQiCMS was designed with this in mind. You can set unique TDK for different pages in the following way:
- Home TDKIn the "Background Settings" -u003e "Home Page TDK Settings" of AnQiCMS background, perform global configuration.
- Article/Product TDKIn “Content Management” -> “Publish Document” or “Edit Document”, fill in “SEO Title”, “Document Keywords”, and “Document Summary”.
- Category Page TDKWhen editing the category in “Content Management” -> “Document Category” -> “Edit Category”, please fill in the “SEO Title”, “Keywords”, and “Category Description”.
- Single Page TDK:In “Page Resources” -> “Page Management” -> “Edit Page”, fill in “SEO Title”, “Keywords”, and “Single Page Description”.
- Tab Page TDK:In “Content Management” -> “Document Tags” -> “Edit Tags”, fill in “SEO Title”, “Tag Keywords”, and “Tag Description”.
AnQiCMS's
tdkTags will automatically obtain and output the most relevant TDK information according to the context of the current page (for example, whether it is an article detail page, category list page, etc.), ensuring that each page has its unique metadata.
3. The role of parameters in TDK tagssiteName/sep/showParentWhat is the function of these parameters, and how should I use them?
These parameters provide more refined TDK customization capabilities, especially when dealing with page titles:
siteName=trueWhen you want to automatically add the website name at the end of the page title (usually for brand exposure).For example, the article title will become “Article Title - Your Website Name”.sep="_":Used to customize the separator between the website name and the page title. The default separator is a hyphen.-,You can change it to an underscore according to your brand preference or SEO habits._etc.showParent=trueEnglish: Used mainly for the title of the classification page. When set totrueWhen it is set, it will display the parent category title before the current category title, which helps to build a richer title hierarchy and may be helpful for covering long-tail keywords.
The reasonable use of these parameters can make your page title more readable and SEO-friendly. Please configure selectively according to your specific SEO strategy and website design requirements.