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, 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, enabling 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 commonly referred to as TDK: Title (Title), Description (Description), and Keywords (Keywords). Among them, the title (Title) is located in the page HTML's<title>The label, which is the first page information seen by search engines and users. It directly affects whether users will click on your link and the search engine's judgment on the page topic.

The strength of AnQi CMS lies in the fact that it not only allows you to set a user-visible main title for the 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 based on user experience and SEO requirements, achieving a win-win situation.

From global to local: Set the SEO title for the homepage 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'sHome PageYou can find the 'Home TDK Settings' in the 'Background Settings' area on the backend.Here, you can set the 'Home Title', 'Home Keywords', and 'Home Description' separately for your website's homepage.This is the key 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 contents in the website, such asarticles, products, single pages, and tagsThe 'AnQi CMS' also provides detailed SEO title settings.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.

  • document titles (main title)This is usually set for internal website display and smooth reading experience for users, and may be written as 'AnQi CMS: Easy Deployment, Go Live Instantly!'
  • SEO titleTo cater to search engine and user search habits, you can set it to 'Aanqi CMS Deployment Tutorial | Go Language CMS Installation Guide | Corporate Website Building', including more relevant keywords, and possibly emphasizing the technicality and guidance.

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

Don't forget the 'Document Keywords' and 'Document Summary' fields besides the SEO title. These are also prepared for search engines. Use English commas between keywords,Separate, the description is a concise and attractive text, which is usually displayed below the search results title, encouraging users to click.

Optimize URL structure: Make the content path more valuable for SEO

In addition to the title itself, the URL structure of the page also has a significant impact on SEO.A clear and meaningful URL structure can help search engines better understand your page content and improve user experience.Safe CMS provides a 'Custom URL' feature and powerful '伪静态规则' 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 if you want the URL to be more readable and keyword-related, you can absolutely make manual modifications./anqicms-deployment-guideThis is more informative for search engines and users than a string of numbers or random characters.

Of course, to make the custom URL effective, the website also needs to configure the 'URL Rewrite Rule' in the 'Feature Management'. Anqi CMS comes with various URL rewrite modes and supports highly customizable rules, allowing you to flexibly define the URL to include model aliases ({module})、Category Alias({catname})、Custom File Name({filename})etc. variables, to build a URL path that is both aesthetically pleasing and SEO-friendly.

Template Tag: Master the Flexible Display of TDK

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

In your website template files (for examplebase.html) of<head>area, you can use it like thistdktags 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 downtdkthe key parameters of the tag:

  • name="Title"/name="Keywords"/name="Description"These parameters explicitly tell the tag which part of the page's TDK information to retrieve.
  • siteName=trueThis is a very practical parameter. When you set it totrueWhen it is, it will automatically append the name of your website to the end of the page title, such as “AnQi CMS Deployment Tutorial | Go Language CMS Installation Guide | Corporate Website Building _ AnQi CMS”.This helps to enhance brand visibility 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 category is displayed in the title, for example, "CategoryA_CategoryB_ArticleTitle".This can better display the page hierarchy to search engines for some websites with deeper category levels.

Anqi CMS'stdkThe tag is smart enough.If you use it on the article detail page, it will automatically prioritize the 'SEO title' of the article; if not set, it will fallback to the article's 'main title'.Similarly, it will automatically obtain the corresponding SEO title, keywords, and description based on the type of the current page (product, single page, tag, etc.).

In addition, you may also encounterCanonicalUrl[规范链接] this concept. If you have set a specification 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 reinforcing the SEO health of the page.

**Practice: Make content titles more competitive

Just setting the rules is not enough to make content titles truly effective for SEO. It also requires following some **practices:**

  1. Keyword layout naturallyPlace the most important keywords at the beginning of the title, but make sure that the title still reads naturally and smoothly, avoiding keyword stacking.
  2. Control the length of the titleAlthough the display length of search engine titles may vary, it is generally recommended to keep the title within 60 Chinese characters or 120 English characters to ensure that it can be fully displayed in search results.
  3. **Title Exclusive**