In content operation, the page title is undoubtedly the first barrier to attract the attention of search engines and users.A clear, keyword-rich, and brand-consistent title that not only improves user click-through rate but is also a key element of Search Engine Optimization (SEO).AnQiCMS as an enterprise-level content management and SEO optimization system, provides a flexible and powerful mechanism that allows you to easily add a website name suffix to the page title dynamically, thus achieving a win-win situation for brand enhancement and SEO.
Unified brand image: Set the website name as the suffix
AnQiCMS knows the importance of brand consistency.You can easily define your 'website name' in the system's background global settings.This name, AnQiCMS will intelligently use it as the default suffix for the website title, and it will be automatically added to the title of each page on your website.The benefits of doing so are obvious: no matter which page users enter your website through, they can easily recognize your brand at a glance, which is crucial for building brand awareness and a professional image.
To set the website name, you can navigate to the "Background SettingsHere, you will see the input box for "website name
Implement dynamic title suffix in the template
Having just the website name is not enough, you also need to tell AnQiCMS how to use it in your website template. In the HTML page,<head>区域内,usually there will be one<title>Tag, the content in this tag is the title displayed in the browser tab and search engine results.
AnQiCMS provides a very convenient TDK (Title, Description, Keywords) tag to dynamically generate this information. To add the website name as a suffix to the page title, you only need to in the template file.<title>the label usetdkLabel and enablesiteNameparameter.
A typical template code snippet would look like this:
<head>
<title>{% tdk with name="Title" siteName=true sep=" - " %}</title>
<meta name="keywords" content="{% tdk with name="Keywords" %}">
<meta name="description" content="{% tdk with name="Description" %}">
</head>
Let's decode this piece of code:
{% tdk with name="Title" siteName=true sep=" - " %}: This is the core part. It tells AnQiCMS to get the main title content of the current page (name="Title"指定),and throughsiteName=trueparameters, automatically appended after the "Website Name" configured in the "Global Feature Settings".sep=" - "This parameter allows you to customize the separator between the page title and the website name suffix. By default, it may be a hyphen or space, but you can set it to any character according to your brand style, for example_/|English-.{% tdk with name="Keywords" %}and{% tdk with name="Description" %}These tags are used to obtain the keywords and description information of the current page, they also support dynamic retrieval, ensuring that the metadata of each page is relevant to the content, which is indispensable for SEO.
Through such simple configuration, you do not need to manually write a complete title for each page. AnQiCMS will intelligently combine the title of the page content with your brand name to generate page titles that are both relevant to the content and have brand identification.
More refined control: Custom SEO titles for specific content
Although global settings and template tags can meet most needs, there may be times when you want to set a completely custom SEO title for specific articles, products, categories, or single pages. For example, the title of a popular article may need to include more specific long-tail keywords, or the title of a promotional campaign page may need to be more marketing-oriented.
AnQiCMS fully considers this flexibility requirement.When publishing or editing various content, such as "publishing documents", "document categories", "page management", or "document tags", you will find a field named "SEO title".
When you set a separate SEO title for a specific page, this title will be displayed preferentially in the browser tab and search engine results. It is important that, even if you set a custom "SEO title", as long as your template contains{% tdk with name="Title" siteName=true sep=" - " %}Label is enabledsiteName=trueThe suffix configured after the "Website Name" in the "Global Feature Settings" will still be automatically added.This means that you can optimize the SEO title for important content pages while maintaining brand consistency.
For example, the name of your website is “AnQi CMS”, and you have an article named “In-depth Analysis of AnQi CMS Features”.
- If you have not set the "SEO title", the page title may be "AnQiCMS Function Deep Analysis - AnQi CMS".
- If you fill in the "SEO title" field with "AnQiCMS Fast Site Construction Tutorial | AnQiCMS In-depth Function Analysis", the final page title may be "AnQiCMS Fast Site Construction Tutorial | AnQiCMS In-depth Function Analysis - AnQi CMS".
This hierarchical title management method allows you to enjoy the convenience brought by the global brand suffix, and also to make fine-tuning of the SEO titles on key pages to meet the operation requirements of different scenarios.
Practice suggestion: Make your page title more outstanding
- Keep it concise and clear:Search engines usually truncate overly long titles. Make sure the most important information and keywords appear in the first half of the title.
- Naturally integrate keywords:Avoid keyword stacking and instead integrate keywords naturally into the title to make it sound smooth.
- Accurately reflect the content:The title should accurately describe the content of the page, avoid misleading titles, which helps improve user experience and reduce bounce rate.
- Regular review and optimization:SEO is a continuous process. Regularly check the performance of your page titles in search engines and adjust and optimize them based on data feedback.
Through these features of AnQiCMS, you can effectively manage the page titles of your website, which not only enhances the consistency of your brand image but also lays a solid foundation for the search engine visibility of your website.
Common Questions
1. Why doesn't the page title automatically include the suffix after I set the website name?This is usually because the dynamic title tag is not used or configured correctly in your website template. You need to make sure that the template file (usuallybase.htmlor the main layout file) of<head>within the<title>the tag is set like this:{% tdk with name="Title" siteName=true sep=" - " %}.siteNameParameter has not been settrue, ortdkThe tag itself is not referenced correctly, so the suffix of the website name will not appear.
2. I have set the 'SEO title' for single pages or articles in the background, will it automatically add the website name suffix?Yes, it will. As long as your template contains{% tdk with name="Title" siteName=true %}Label is enabledsiteName=true参数,即使是您为特定内容自定义的“SEO标题”,网站名称后缀依然会自动添加到该自定义标题的末尾,以确保品牌在所有页面上的统一性。
3. Can I change the separator between the page title and the website name suffix?Of course you can. In{% tdk with name="Title" siteName=true %}In the tags, you can addsepThe parameter is used to define the delimiter. For example, if you want to use a vertical bar as a delimiter, you can set it like this:{% tdk with name="Title" siteName=true sep=" | " %}This parameter provides flexible customization options.