Does AnQiCMS support automatically adding the website name after the homepage title? How to enable or disable it?

Calendar 👁️ 57

As an experienced CMS website operation person in the security industry, I fully understand the importance of integrating the website name reasonably in the website title for SEO optimization and brand recognition.AnQiCMS as a system focused on efficient content management naturally also provides a flexible way to handle this common need.


Does AnQiCMS support automatically adding the website name after the homepage title? How to enable or disable it?

In website operations, the page title (meta title) is one of the key elements of Search Engine Optimization (SEO).A common practice is to automatically add the brand name of the website after the title of a specific page, which not only helps to enhance brand awareness but also provides stronger recognition in search results.AnQi CMS fully considers this requirement and provides an intuitive and flexible configuration method to combine the page title with the website name.

Title management mechanism in AnQiCMS

AnQiCMS has adopted a hierarchical design in title management, ensuring the flexibility of content and the convenience of global control.First, it allows you to define the overall name of the website in the background global settings.Secondly, through template tags, developers and operations personnel can accurately control whether and how the global website name is appended to the titles of each page.This mechanism means that you can flexibly decide whether to display the website name suffix for different types of pages such as the homepage, article page, category page, etc., and customize its display method.

Configure the website name: source of the website name

To add the website name after the homepage title, you first need to define your "website name" in the AnQiCMS backend settings.This name will be used as a suffix for all possible page titles.

You can navigate to the 'Global Settings' option under the 'Backend Settings' in the backend management interface.Here, you will find an input box named "website name".Please enter the brand name you want to display after the page title, for example, "AnQi CMS official website".After completing the filling, save the settings, the global website name is ready and waiting to be called in the template.

Control the addition of title suffix in the template (enable or disable)

Control whether the website name is automatically added after the page title, mainly through modifying the specific tags in the website template file. AnQiCMS usestdktags to unify the management of the page'stitle/keywordsanddescription. When setting the page title,tdkthe label provides a namedsiteNamethe parameter is used to precisely control the display of the website name.

To enable this feature, you need to modify the website template file (usually)base.htmlor the component responsible for generating the pageheadIn the common template), find the definition<title>The position of the tag. For example, if your template uses the following code to define the page title:

<title>{% tdk with name="Title" %}</title>

By default,siteNameparameters forfalseThis means that even if you set the global website name, it will not be automatically appended to the title. To enable the function of automatically appending the website name to the page title, you need to setsiteNameThe parameter is explicitly set totrue:

<title>{% tdk with name="Title" siteName=true %}</title>

By making this simple modification, AnQiCMS will automatically retrieve the 'Website Name' you have configured in the global settings and append it as a suffix to the title of the current page.

If you want to disable this feature, so that the website name does not appear as a suffix in the title, there are several methods that can be implemented:

  1. Explicitly disable:tositeNamethe parameter tofalseFor example:<title>{% tdk with name="Title" siteName=false %}</title>.
  2. Remove parameter:Remove directlysiteNameThe parameter, as its default value isfalseYou can omit the parameter to achieve the shutdown effect:<title>{% tdk with name="Title" %}</title>.

This template-level control method grants website operators great flexibility, allowing precise adjustments to the display behavior of titles for different page types or design requirements.

Custom separator between title and website name

In addition to controlling whether to display the website name suffix, AnQiCMS also allows you to customize the separator between the page title and the website name. This is also throughtdka parameter of the tagsepImplemented. By default, AnQiCMS uses a hyphen-as a separator. If you want to use other symbols, such as an underscore_or a vertical line|, you cantdkthe tag throughsepSet the parameter:

<title>{% tdk with name="Title" siteName=true sep="_" %}</title>

The above code will concatenate the page title with the website name using an underscore_This parameter also needs to be modified in the template file.

Summary

AnQiCMS via the backend global website name setting and in the front-end templatetdktags and theirsiteNameandsepParameters provide powerful and flexible control over website title management.This allows website operators to easily implement personalized customization of homepage and even the entire site page titles, ensuring brand consistency and recognition in search engine results, while also considering the practice of SEO.


Frequently Asked Questions (FAQ)

1. Can I set an independent title for a specific article or category page without using the global website name suffix?

Of course, you can.AnQiCMS allows you to set a 'SEO title' separately when publishing articles or creating categories.When you fill in these custom SEO titles, the system will prioritize using the titles of these specific pages instead of automatically generating them from the content title.tdkWhen labeling, if you do not want the website name suffix to be added, you can do so in the corresponding template'stdkput in the tag.siteNamethe parameter tofalseOr directly include the full title (including the brand name you want) in the SEO title, thensiteNameis set tofalseSo the system will not add duplicates.

2. How do I stop adding the website name after the title of any page?

If you want to completely disable the website name as a suffix feature, you need to edit your website template file. Find all uses{% tdk with name="Title" ... %}of the place to generate page titles, and replacesiteNameThe parameter is explicitly set tofalseFor example:<title>{% tdk with name="Title" siteName=false %}</title>If you do this on all pages, the website name will not appear as a suffix in the title of any page.

3.tdkin the labelsiteNameWhat is the default parameter value?

According to the document,tdkin the labelsiteNameThe default parameter value isfalseThis means that if you only use{% tdk with name="Title" %}without explicitly specifyingsiteNamethe website name will not be added automatically as a suffix. You must set it totrueto enable this feature.

Related articles

If the homepage TDK is set to empty, how will AnQiCMS handle the page's Title, Keywords, and Description tags?

As an experienced enterprise CMS website operation personnel, I know the importance of TDK (Title, Description, Keywords) settings for website SEO optimization.It is not only the key entry point for search engines to understand web content, but also the first impression that users see in search results.Therefore, how AnQiCMS will handle the situation when the TDK setting on the homepage is empty is a very worthy topic for in-depth discussion.### The importance of the homepage TDK and the configuration entry of AnQiCMS First

2025-11-06

When will the update be visible in the search engine after the TDK settings on AnQiCMS's homepage are set?

As a senior security enterprise CMS website operator, I know that the setting of the homepage TDK (Title, Description, Keywords) is crucial for the performance of the website in search engines.The homepage TDK is not only the "facade" of the website, but also a key signal for search engines to understand and judge the core content of the website.After we modify the TDK of the homepage of AnQiCMS backend, many operators will be eager to know when these updates can be captured and displayed by search engines.This is not a simple fixed time point

2025-11-06

How to write an attractive description (Description) for the AnQiCMS homepage?

As an experienced website operator familiar with AnQiCMS, I know that an engaging home page description is crucial for attracting and retaining users.It is not only the first impression of the website, but also the key window to convey the core values and pain points of AnQiCMS to potential users.Write such a description requires us to start from the user's perspective, accurately refine the advantages of AnQiCMS, and present it in clear and direct language.

2025-11-06

What is the impact of AnQiCMS home page keyword (Keywords) settings on search engine ranking?

Hello! As an experienced AnQi CMS website operations personnel, I am glad to give you a detailed explanation of the impact of AnQi CMS homepage keyword (Keywords) settings on search engine ranking.This is a topic that has long existed in the SEO field and is constantly evolving. It is crucial to understand its role in AnQiCMS and the operation of modern search engines.### Keyword setting of AnQiCMS homepage and its role in search engine ranking We attach great importance to SEO optimization in the AnQiCMS system

2025-11-06

How to customize the separator between the website name and the main title in the AnQiCMS homepage title?

As a senior AnQiCMS website operations manager, I fully understand the key role of the homepage title in search engine optimization (SEO) and user experience.A clear and easily recognizable title can effectively convey the core theme of the website and help users quickly understand the content of the webpage, thereby improving click-through rates and retention.AnQiCMS as a flexible content management system provides rich features to meet our refined control requirements for content display, including the customization of the separator between the website name and the main title in the homepage title.###

2025-11-06

How to use the `{% tdk %}` tag in AnQiCMS template to call the home page TDK information?

In the AnQiCMS content management system, the management of TDK (Title, Description, Keywords) information for website SEO is a crucial link.AnQi CMS provides convenient and powerful template tags for website operators, allowing flexible calls to this information on the front-end page.Among them, the `{{ tdk }}` tag is a universal tag specifically used to handle page TDK information.

2025-11-06

How to specify the `siteName` parameter when retrieving Title using the `{% tdk %}` tag?

As a senior website operations manager of AnQi CMS, I know that every detail of the website may affect user experience and search engine performance.During content creation and publication, the TDK (Title, Description, Keywords) of the page is the foundation of SEO optimization.Today, let's delve into the specific usage and importance of the `{% tdk %}` tag in obtaining page titles in AnQi CMS and the `siteName` parameter.

2025-11-06

How to adjust the `sep` parameter of the `{% tdk %}` tag to change the connection symbol between TDK elements?

As a website operator who is deeply familiar with AnQiCMS, we know that every detail of the website can affect its performance in search engines and the user experience.Among them, TDK (Title, Description, Keywords) is the most critical metadata of the web page, and its setting is particularly important.In AnQiCMS, the `{% tdk %}` tag provides a convenient way to manage these important SEO elements.This article will focus on a practical parameter of this tag - `sep`

2025-11-06