In website operation, the content title is like the facade of the website. It is not only the first impression that visitors see, but also an important basis for search engines to understand the content of the page and judge its relevance.A meticulously optimized content title that can significantly improve the click-through rate (CTR) and ranking of the website.AnQiCMS (AnQiCMS) as a highly SEO-friendly content management system, provides us with very flexible and powerful tools to finely set the SEO display rules for articles, products, pages and other content.

Next, we will delve into how to set these key content title SEO display rules in Anqi CMS, allowing your website to stand out in search engines.

Understanding the core role of SEO titles

In the world of Search Engine Optimization (SEO), there are three core elements that determine how your content performs in search results, which are usually referred to as TDK: Title (Title), Description (Description), and Keywords (Keywords). Among them, the Title (Title) is located in the HTML of the page's<title>In the tag, it is the page information that search engines and users see first. It directly affects whether users will click on your link and the judgment of search engines on the theme of the page.

The strength of AnQi CMS lies in the fact that it not only allows you to set a user-visible main title for content, but also provides a separate "SEO title" field specifically for search engine display.This means you can optimize the display title and the search engine title separately according to user experience and SEO requirements, achieving a win-win situation.

From global to local: Set the SEO title for the home page and content

To better manage these core elements, Anqi CMS provides a multi-level setting method, allowing you to both manage uniformly and optimize specifically.

Firstly, for the website'sHomeYou can find the 'Home TDK settings' in the 'Background Settings' area of the backend.Here, you can set the 'Home Title', 'Home Keywords', and 'Home Description' separately for your website homepage.This is the critical step you take to set the SEO tone for the entire website, which usually includes the core brand words and the most important business keywords.

Next, for various specific content in the website, such asarticles, products, single pages, and tags,AnQi CMS also provides a meticulous SEO title setting.When you edit this content, you will find an input box named "SEO Title".This is a title specifically designed for search engines, which has a higher priority than the main title you set for the content.For example, if you have an article about the 'AnQi CMS Efficient Deployment Tutorial':

  • Document title (main title)This is usually set for internal website display and smooth user reading experience, and may be written as "AnQi CMS: Easy Deployment, Instant Launch!"
  • SEO titleTo cater to the search engine and user search habits, you can set it to 'AnQi CMS Deployment Tutorial | Go Language CMS Installation Guide | Enterprise Website Building', including more relevant keywords, and may emphasize the technicality and guidance.

If the 'SEO Title' field is left blank, AnQi CMS will intelligently revert to the 'Main Title' of the content as the search engine title, ensuring that each page has a valid title.

In addition to the SEO title, don't forget the adjacent 'Document Keywords' and 'Document Description' fields. These are also prepared for search engines. Keywords should be separated by English commas,Separate, the description is a concise and attractive text that is usually displayed below the search results title, encouraging users to click.

Optimize URL structure: Make the content path more SEO-friendly

The page URL structure also has a significant impact on SEO, in addition to the title itself.A clear and meaningful URL structure can help search engines better understand your page content and improve user experience.The AQ CMS provides the "Custom URL" feature as well as powerful "pseudo-static rule" management.

When you edit an article, product, single page, or tag, you will see a "Custom URL" field.By default, Anqi CMS will automatically generate a pinyin URL alias based on the main title you enter.If you are not satisfied with the automatically generated URL or want a URL that is more readable and keyword-related, you can easily modify it manually.For example, set the URL of the 'Anqi CMS Efficient Deployment Tutorial' to/anqicms-deployment-guideThis is more informative to search engines and users than a string of numbers or random characters.

Of course, for the custom URL to take effect, the website still needs to configure the '伪静态规则' in the 'Function Management'. AnQi CMS comes with a variety of pseudo-static modes and supports highly customizable rules, allowing you to flexibly define aliases included in the URL ({module})、category alias({catname})、custom filename({filename})etc. variables to build a beautiful and SEO-friendly URL path.

Template tag: control the flexible display of TDK

The strength of AnQi CMS also lies in its flexible template tag system, which allows you to accurately control the display logic of TDK information in front-end templates. The core tag istdk.

In your website template file (for examplebase.html)的<head>area, you can use it like thistdktag to dynamically output the page title:

<title>{% tdk with name="Title" siteName=true sep="_" showParent=true %}</title>
<meta name="keywords" content="{% tdk with name="Keywords" %}">
<meta name="description" content="{% tdk with name="Description" %}">

Let's break it down.tdkSeveral key parameters of the tag:

  • name="Title"/name="Keywords"/name="Description"These parameters clearly tell the tag which part of the page's TDK information to retrieve.
  • siteName=trueThis is a very practical parameter. When set totrueIt will automatically append your website name to the end of the page title, like "AnQi CMS Deployment Tutorial | Go Language CMS Installation Guide | Corporate Site Building _ AnQi CMS".This helps to enhance brand exposure and unify the title format of the website.
  • sep="_"This parameter allows you to customize the separator between the website name and the content title in the page title. You can set it according to your preference.-/|or_etc.
  • showParent=trueIf your content has a classification hierarchy, this parameter can control whether the title of the parent classification is displayed in the title, for example, 'ClassificationA_ClassificationB_ArticleTitle'.This can better display the page hierarchy to search engines for some websites with deeper classification levels.

Of Security CMStdkThe label is sufficiently intelligent. If you use it on the article detail page, it will automatically prioritize the 'SEO title' of the article;If not set, it will revert to the article's 'main title'.Similarly, it will automatically retrieve the corresponding SEO title, keywords, and description based on the type of the current page (product, single page, tag, etc.)

In addition, you may encounterCanonicalUrl(Standard link) this concept. If you set a standard link for some content in the background (usually used to avoid duplicate content issues), you can also use it in the template.{% tdk with name="CanonicalUrl" %}Output it, usually placed in<head>Area:

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

This tells the search engine which URL is the authoritative version of the content, further consolidating the SEO health of the page.

**Practice: Make content titles more competitive

Setting the rules is not enough, to truly make content titles work for SEO, you still need to follow some **practices:**

  1. Keyword Layout NaturallyPlace the most important keywords at the beginning of the title, but make sure the title reads naturally and smoothly, avoiding keyword stacking.
  2. Control the Length of the Title: Although the display length of search engine titles may fluctuate, it is usually recommended to keep the title within 60 Chinese characters or 120 English characters to ensure it is fully displayed in the search results.
  3. **Title's unique