In website operation, Search Engine Optimization (SEO) is the key link to improve website visibility and attract natural traffic.And TDK (Title, Description, Keywords) information, as the 'business card' of the website content on the search engine results page (SERP), its configuration rationality directly affects the user click-through rate and the search engine ranking performance.For users using AnQiCMS (AnQi CMS), the system comes with an intuitive and powerful TDK configuration feature, making home page SEO optimization simple and efficient.
The importance of TDK information for the homepage of a website
Before delving into how to configure, we must first understand why TDK is so important for the home page of the website:
- Title (Title):The website title is the first line of text that users see on the search engine results page, and it is also the content displayed in the browser tab.It directly tells users and search engines what your website or page is about.A good title can attract users to click and increase website traffic.In AnQiCMS, the homepage title usually appears in the HTML of
<title></title>in the tag. - Description (description):The website description is usually displayed below the title on the search engine results page and is a brief summary of the page content.Although it does not directly affect ranking, a high-quality description can attract users and improve click-through rate.AnQiCMS will display the homepage description on
<meta name="description" content="">Tag inside. - Keywords (keywords):The keyword is the word or phrase you think users may use to search your website content.Although modern search engines have reduced the weight of the Keywords meta tag, reasonably setting core keywords still helps search engines understand your website's theme, especially in certain vertical industries or regional searches where it may still have a supporting role.In AnQiCMS, the home page keywords will be configured to
<meta name="keywords" content="">in the tag.
The design of AnQiCMS fully considers SEO-friendliness, its TDK configuration is not only easy to operate but also can effectively improve the search engine visibility of the website.
Configure the home page TDK information in AnQiCMS background
Configure the TDK information of the website home page is a simple and direct process, AnQiCMS provides a special interface for you to operate:
- Log in to the backend:First, you need to log in to the AnQiCMS backend management interface.
- Navigate to Settings:Find and click in the navigation menu on the left side of the backend.“Background Settings”.
- Enter the homepage TDK settings:In the submenu of "Backend Settings", you will see a name calledHome TDK SettingsThe option, click it to enter the configuration page.
On this page, you will see three core input boxes, which correspond to Title, Keywords, and Description:
- Home title:Please enter the title of your website's homepage. It is recommended to include your brand name and the core business or theme of the website, and ensure that the title is concise, attractive, and of moderate length (usually recommended to be within 50-70 characters to avoid being cut off in search results).
- Homepage keywords: Enter the core keywords of your website homepage. Separate multiple keywords with English commas
,Separate. When selecting keywords, consider their relevance and search volume, and avoid irrelevant keyword stacking. - Home page description:Write a concise and clear text to summarize the content of your website homepage.This description should attract users to click and naturally contain some core keywords.The length of the description is generally recommended to be between 150-180 characters.
After filling out, remember to click the save button, your homepage TDK settings have already taken effect.
Display homepage TDK information in the website template.
After the background configuration is completed, AnQiCMS will automatically output this information to the HTML code on the homepage of the website. To ensure that this information is displayed correctly and indexed by search engines, your website template (usually
isindex.htmlorbase.htmlIt needs to be<head>Use the TDK tags provided by AnQiCMS within the tags.
AnQiCMS provides a universal TDK tag for this——tdk. This tag allows you to flexibly retrieve and display the configured Title, Keywords, and Description:
Get the page title (Title):
<title>{% tdk with name="Title" siteName=true sep=" - " %}</title>here,
name="Title"Specified to get the page title.siteName=trueThe website name will be automatically appended to the end of the title (for example, "My Website - Home Title"),sep=" - "It defines the separator between the title and the website name. You can adjust these parameters as needed.Get page keywords (Keywords):
<meta name="keywords" content="{% tdk with name="Keywords" %}">name="Keywords"Display the home page keywords configured in the background.Get page description (Description):
<meta name="description" content="{% tdk with name="Description" %}">name="Description"Display the home page description configured in the background.
In addition to TDK information, standard links (Canonical URL) are also crucial in SEO optimization, as they can avoid search engine penalties due to duplicate content. AnQiCMS also supports obtaining standard links through TDK tags:
{%- tdk canonical with name="CanonicalUrl" %}
{%- if canonical %}
<link rel="canonical" href="{{canonical}}" />
{%- endif %}
This code will check for the existence of a standard link, if it exists, it will be added to<head>.
Place the above tag code in your website template's<head>Within the area, it can ensure that the TDK information on the homepage can be correctly rendered.
AnQiCMS SEO Toolbox
Configuring the home page TDK is just a part of the powerful SEO features of AnQiCMS. In addition to TDK management, AnQiCMS also provides:
- Permanent links and 301 redirects:Optimize URL structure, improve search engine crawling and ranking, and effectively handle the traffic loss after page adjustments.
- Sitemap generation:Automatically generate a sitemap to help search engines discover and index your pages more comprehensively.
- Robots.txt configuration:Precisely control the crawling permissions of search engine spiders on your website content.
- Keyword library management:Manage the core keywords of the website, assist in content creation and optimization.
- Anchor text settings:Enhance the SEO value of internal links.
These features together build a comprehensive SEO tool system, helping your website perform better in search engines.
By AnQiCMS, even if you are not a professional SEO person, you can easily manage and optimize the TDK information of the website's homepage, laying a solid foundation for the successful operation of the website.
Frequently Asked Questions (FAQ)
Why did I set the homepage TDK, but the front page did not take effect?This is usually because the website cache has not been updated. In the AnQiCMS backend, you can find the 'Update Cache' feature (usually at the bottom of the left navigation bar), click it to clear the system cache and then re-visit the homepage of the website, the TDK information should be displayed correctly.Also, please check if your template file is used correctly
tdkTag to call this information.How should the title, keywords, and description of the homepage be written to be better indexed by search engines?Write high-quality TDK information requires following some principles:
- Title:Keep it concise, unique, include core keywords, and control the word count to 50-70 characters. Ensure each page has a unique title.
- Description:Attractive, accurately summarize the page content, naturally integrate 2-3 core keywords, control the number of characters to 150-180. Encourage users to click.
- Keywords:Choose keywords that are highly relevant to the page content, avoiding keyword stuffing. Usually, 3-5 core keywords are sufficient. Avoid using general or irrelevant words.
In addition to the home page TDK, what other SEO features of AnQiCMS can improve website ranking?AnQiCMS provides a comprehensive set of SEO tools. In addition to the home page TDK, you can also take advantage of its pseudo static and 301 redirection