In website operation, the overall name of the website and the titles of each page are an important part of the brand image and search engine optimization.They are not only the first impression of visitors to the website, but also a key factor for search engines to understand the content and ranking of the website.AnQiCMS is a content management and SEO design system designed specifically to provide flexible and powerful features, helping us easily manage and optimize these core elements.
Considerations for setting the overall website name
Firstly, we need to establish the overall name of the website, which usually represents our brand or company name. In AnQiCMS, you will find that this setting is very intuitive.
To modify or display the overall website name, you can go to the admin interface, find it in the left navigation bar,Backend settingsthen click onGlobal feature settings. Here, you will see a name calledWebsite NameThe input box.Enter the website name you wish here, for example "AnQi CMS Official Website" or your company brand name, after saving, this name will be displayed in multiple default positions on the website (such as the suffix of the page title, footer copyright information, etc.).
It's also very simple to reference this website name in the template, we can use{% system with name="SiteName" %}this built-in tag. For example, when displaying copyright information in the footer, you can combine it like this:©{% now "2006" %} {% system with name="SiteName" %}. All Rights Reserved.It will dynamically display the current year and the website name you set.
Optimization and display of the home page title
The website's home page title (Title Tag) is crucial, as it directly affects the chance of visitors finding us through search engines.AnQiCMS provides a dedicated area to manage the title, keywords, and description (TDK) of the homepage.
To set the title of the home page, please navigate to the background of the “Backend settings” and click “Home TDK settings.”Here, you will find “Home titleField. We recommend filling in a title here that accurately summarizes the core business and brand information of the website, while incorporating main keywords to enhance search engine visibility.
Display the home page title in the template, which is often used{% tdk with name="Title" %}This label.This label is very smart, it will automatically read the title you configured in the background "Home TDK settings".siteName=trueproperties such as{% tdk with name="Title" siteName=true %}. This way, the title of your homepage may be 'Enterprise-level Content Management System - AnQi CMS Official Website', rather than just 'Enterprise-level Content Management System'.
Content page fine-grained title control
In addition to the overall website name and homepage title, AnQiCMS also allows us to optimize the titles of different types of content pages in detail, which is crucial for improving the SEO performance of each content page.
Article and product detail page:When you are in the background "Content Management" and publish or edit documents (such as articles, products) you will find that there are two related title fields: "Document titleAndSEO title.
- "Document titleIt is usually the main title (H1) of the page content, facing the visitor.
- "SEO titleIt is specifically set for search engines.
<title>Label content.If not filled in, the system will default to using "Document Title".It is recommended to write an independent SEO title for each page, including the core keywords of the page, and with moderate length, in order to achieve better search rankings and click-through rates.{% archiveDetail with name="Title" %}To display the document title (H1), while the page<title>Continue using the tag{% tdk with name="Title" %}. AnQiCMS will automatically use the "SEO title" you set separately on the document detail page as<title>the content of the tag.
Category list page:In theContent Management"under the "Document CategoryIn the ”function, when you edit any category, you can also set “Category NameAndSEO titleThe category name is the name that visitors see on the website, while the SEO title is used for the category list page of
<title>tags. In the template, use{% categoryDetail with name="Title" %}to get the category name, page<title>Tags are used in the same way{% tdk with name="Title" %}.Single page:For independent single pages like “About Us”, “Contact Us”, you can in the “Page Resources"under the "Page ManagementEdit within quotes. Here isPage NameAndSEO titleAvailable for you to set. In the template,
{% pageDetail with name="Title" %}The page name will be displayed, while{% tdk with name="Title" %}It will intelligently use the single-page SEO title you set.Tab Page:In theContent Management"under the "Document TagIn the function, each tag can also be set to:Tag NameAndSEO title.
{% tagDetail with name="Title" %}It will display the label name while{% tdk with name="Title" %}It will generate the page based on its SEO title<title>.
Flexible display and advanced features of the title
AnQiCMS'tdkTags provide great flexibility in templates, allowing us to adjust the display of the title according to our needs.
- Separator settings:By default, the title will use
-As a separator. But you can customizesepproperties, for example{% tdk with name="Title" sep="_" %}, the title will become页面标题_网站名称. - Parent title display:For the category page, if you want the page title to include the name of the parent category, you can use
showParent=truesuch as{% tdk with name="Title" showParent=true %}. - Dynamic content reference:AnQiCMS's template system (based on Django template engine syntax) supports passing through
{{变量}}Syntax directly refers to various data.This means that you can not only set the title through the background, but also dynamically combine a richer title based on the specific content of the page.tdkTags will automatically integrate them for you.
Multi-site and multilingual title management
If you use the "Multi-site Management" feature of AnQiCMS to create multiple sites or enable "Multi-language Support", then all the settings related to the site name and page title above will take effect for each independent site or language version.This means that each sub-site or each language version can have its own unique website name and a complete set of page title TDK, thereby better meeting the needs of different target markets and user groups.
Through the functions provided by AnQiCMS, you can not only easily manage the brand identity of your website, but also ensure that each page can achieve excellent display effects in search engines through refined title optimization strategies, thus enhancing the overall competitiveness of the website.
Frequently Asked Questions (FAQ)
Q1: Why did I change the website name in the background, but some page titles did not update completely?A1: The website name mainly affects the global settings and the default suffix of the page title. If a specific page (such as an article detail page, category list page, or single page) has an independent "SEO title" set in the background, then the page's<title>The tag will display its independent SEO title first