In content operation, the page title is undoubtedly the first hurdle to attract the attention of search engines and users.A clear, keyword-rich, and brand-consistent title that not only improves click-through rate but is also a key element of Search Engine Optimization (SEO).AnQiCMS as a system focusing on enterprise-level content management and SEO optimization, provides a flexible and powerful mechanism that allows you to easily add a website name suffix to the page title, thereby achieving a win-win situation for brand enhancement and SEO.
Unified brand image: Set the website name as the suffix
AnQiCMS understands 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 automatically add it to the title of each page on your website.The benefits of doing this are obvious: no matter which page the user enters your website through, they can 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 Settings" area of AnQiCMS backend, and then select "Global Function Settings".Here, you will see the input box for 'Website Name', enter the brand name you want as a suffix, such as 'AnQi CMS', then save.
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>In the area, there is usually one<title>Tag, the content of 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 just need to in the template file.<title>Used in tagstdkLabel and startsiteNamethe parameter.
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 interpret 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 (specified byname="Title"), and throughsiteName=trueThe parameter will automatically append 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_/|Or with spaces-.{% tdk with name="Keywords" %}and{% tdk with name="Description" %}These tags are used to retrieve 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.
With such a simple configuration, you do not need to manually write a complete title for each page. AnQiCMS will intelligently combine the page content title with your brand name to generate page titles that have both content relevance and brand identity.
Finer control: Customize SEO titles for specific content
Although global settings and template tags can meet most needs, there are times when you may want to set a completely customized SEO title for specific articles, products, categories, or single pages, such as, for example, the title of a popular article may need to include more specific long-tail keywords, or a promotional event page title may need to be more marketing-oriented.
AnQiCMS fully considered this flexibility requirement.When publishing or editing various types of content, such as 'publishing documents', 'document classification', '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 first 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=" - " %}The tag has been enabledsiteName=trueThe parameter, the suffix of the "website name" configured in the "global function settings" will still be automatically added.This means that you can optimize the precise SEO title for important content pages while maintaining brand consistency.
For example, the name of your website is 'AnQiCMS', and you have an article named 'In-depth Analysis of AnQiCMS Features'.
- If you have not set the 'SEO title', the page title may be 'AnQiCMS in-depth analysis of features - AnQi CMS'.
- If you fill in the "SEO title" field of the article with "AnQiCMS Fast Website Construction Tutorial | AnQiCMS In-depth Function Analysis", the final page title may be "AnQiCMS Fast Website Construction Tutorial | AnQiCMS In-depth Function Analysis - AnQi CMS".
This layered title management method allows you to enjoy the convenience of the global brand suffix while also allowing for fine-tuning of the SEO title on key pages to meet the operation needs of different scenarios.
Practical suggestion: Make your page title more impressive
- Keep it concise and clear:Search engines usually truncate 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 page content, avoid misleading titles, which helps improve user experience and reduce bounce rates.
- Regularly review and optimize: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.
By using these features of AnQiCMS, you can effectively manage the page titles of your website, not only improving the consistency of your brand image, but also laying a solid foundation for the visibility of your website in search engines.
Common questions
1. Why did I set the website name, but the page title did not automatically add the suffix?This is usually because your website template is not using or configuring dynamic title tags correctly. You need to make sure that in the template file (usuallybase.htmlor the main layout file) of<head>the area,<title>This is how the label is set:{% tdk with name="Title" siteName=true sep=" - " %}IfsiteNameThe parameter is not set.trueOrtdkThe label itself is not referenced correctly, so the website name suffix will not appear.
2. Have I set the 'SEO title' for single pages or articles in the background, will it also automatically add the website name suffix?Yes, it will. As long as your template includes{% tdk with name="Title" siteName=true %}The tag has been enabledsiteName=trueParameter, even if you customize the "SEO title" for specific content, the website name suffix will still be automatically appended to the end of the custom title to ensure consistency of the brand across all pages.
3. Can I change the separator between the page title and the website name suffix?Of course. In{% tdk with name="Title" siteName=true %}In the tag, you can add bysepDefine a 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 you with flexible customization options.