How to use the 'Custom URL' feature of AnQiCMS to set personalized TDK links for special pages?

Calendar 👁️ 55

As an experienced website operator familiar with AnQiCMS, I know that every detail is crucial for the search engine performance and user experience of the website.Especially the personalized settings of page URL structure and TDK (Title, Description, Keywords), which are crucial for attracting search engine crawling and meeting user needs of website content.AnQi CMS provides a powerful "custom URL" feature,配合flexible TDK settings, allowing us to easily tailor exclusive optimization solutions for special pages.


Using AnQiCMS's 'Custom URL' feature to set personalized TDK links for special pages

In today's highly competitive content ecosystem, a website's page URL and TDK are not only information identifiers, but also important for search engines to understand page content and for users to decide whether to click.A semantically clear, keyword-rich custom URL, combined with precise TDK optimization, can significantly improve the click-through rate and search rankings of the page.Our company understands this point, therefore, its 'Custom URL' feature is designed to be both powerful and easy to use, allowing us to finely manage the SEO performance of each page.

Understanding AnQiCMS's custom URL and its value

The 'Custom URL' feature of AnQi CMS allows us to摆脱the default, possibly mechanical URL structure of the system, and set personalized links for special content such as articles, products, categories, tags, even single pages.This is usually combined with pseudo-static rules, converting dynamic parameterized URLs into more friendly, easier to understand, and memorable static URLs.

From an SEO perspective, the advantages of custom URLs are evident.A URL containing the core keywords of the page, which can clearly indicate the theme to the search engine and increase the weight of the keywords.At the same time, a concise and logical URL structure also improves user experience, allowing users to get a general idea of the page content before clicking, reducing the bounce rate.AnQi CMS provides a custom URL setting entry for document, category, tag, and single-page content types, and it defaults to automatically generating pinyin-style URL aliases based on the title of the content. However, we can completely adjust it manually to achieve **optimized effects.**It should be noted that the custom URL must be unique throughout the entire site to avoid page duplication and indexing issues.

Plan and configure custom URL rewrite rules

Before setting a custom URL for a specific page, we first need to go to the "Function Management" page in the Anq CMS backend and select or configure a set of static rules that support named patterns.The pseudo-static rule is the basis for the effectiveness of custom URLs, defining the overall structure of the website URL.

AnQi CMS is built-in with various preset static rules, such as 'number pattern', 'model naming pattern', etc.For scenarios requiring high personalization, we should choose 'Custom Mode'.In custom mode, we can utilize{id}/{filename}/{catname}/{module}variables to build URLs that comply with SEO**practices. For example, we can set the rules for the document detail page asarchive===/{module}/{filename}.htmlof which{filename}Variables are the custom URL aliases we will set during content editing.After the rule configuration is completed, the URLs of all pages in the system will follow this newly defined structure, at this time, the custom URL set for specific pages can be displayed normally on the front end.Be sure to thoroughly test the static rules after saving, to ensure that all pages can be accessed normally, so as to avoid problems where pages cannot be opened.

Set personalized TDK links for special pages

Custom URL configuration, laying the foundation for further personalized TDK settings.In Anqi CMS, documents (articles/products), categories, tags, and single pages all have independent TDK settings, allowing us to optimize the specific content of each page accurately.

1. Setting TDK links for documents (articles/products):Whether it is to publish a new article or product, or to edit existing content, we can find the corresponding TDK setting options in the editing interface.In the "Other Parameters" collapse box, the fields of "SEO Title", "Document Keywords", and "Document Introduction" are usually provided.

  • SEO title: This is the page's<title>Label content is crucial for search engine ranking. It should include core keywords, be attractive, and be within 60 characters.
  • Document keywordCorresponding to<meta name="keywords">Tags, used to tell search engines the keywords of the page. Separate multiple keywords with English commas,Separate, do not pile up.
  • Document IntroductionCorresponding to<meta name="description">The tag is a summary on the search engine results page. It should accurately summarize the page content, include keywords, and encourage users to click, within 150 characters.
  • Custom URLIn the editing interface, in the "Custom URL" field, we can set a concise, semantically meaningful English alias for the current document, for example, setting the "AnQi CMS Custom URL Function Introduction" toanqicms-custom-url-guideThis will constitute a part of the URL path of the page.
  • The canonical link (Canonical URL)If the page content has multiple URL access paths or is highly similar to other page content, to avoid duplicate indexing by search engines, we can set a standard link pointing to the authoritative version of the content.
  • Fixed linkIn special cases, if you want the URL of a document not to change with the pseudo-static rules, you can set a fixed link with a relative path.

2. TDK link settings for the category page:When editing or adding categories on the "Document Category" management page, we can also find the TDK and custom URL settings options.

  • SEO title: Unique title for the category page, usually containing the category name and core keywords.
  • Keywords: Keyword list for the category page.
  • Category introductionAs a category page description, used for search engine abstract.
  • Custom URLSet a concise URL alias for the category, for example, setting the "Enterprise News" category tocompany-newsIf the pseudo-static rule includes{catname}A variable that will be part of the URL path.

3. TDK link settings for the tab page:On the "Document Tag" management page, when editing or adding tags, there is also an independent TDK and custom URL setting.

  • SEO title: For the title of the tag page.
  • Tab keywordsFor the keyword of this tag page.
  • Tab descriptionAs the description of the tag page.
  • Custom URLSet a concise URL alias for the tag, for example, set the 'SEO optimization' tag toseo-optimization.

4. Single page TDK link settings:In the "Page Management", when creating or editing single pages such as "About Us",

  • SEO title: Single page title.
  • Keywords: Keyword of the single page.
  • Single page introduction: Description of the single page.
  • Custom URL: Set a concise URL alias for the single page, for example, set the "About Us" page toabout-us.

Call personalized TDK in the template

After setting the custom URL and TDK information of the page, we need to ensure that the template can call and display these values correctly. Anqi CMS provides a powerful “Universal TDK tag” (tdk), it can intelligently grab the corresponding TDK information according to the type of the current page (document, category, tag, single page, etc).

In the website template's<head>Region, we usually use it like thistdkTags:

<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" %}">
{%- tdk canonical with name="CanonicalUrl" %}
{%- if canonical %}
<link rel="canonical" href="{{canonical}}" />
{%- endif %}

The purpose of this code is:

  • <title>Tag: Call the 'SEO title' of the current page and optionally append the site name as a suffix, separated by a hyphen.
  • keywordsmeta tag: call the 'keywords' or 'document keywords' of the current page.
  • descriptionmeta tag: call the 'description' or 'document description' of the current page.
  • canonicalLink: Check if there is a standard link, if it exists, add the link, which helps solve the problem of duplicate content.

In this way, regardless of whether the user visits the article detail page, product detail page, category list page, tag list page, or independent single page, the template can automatically display the personalized TDK information we have meticulously configured for it, ensuring that each page has **SEO performance.**

**practical and operation experience

As an operations manager, my experience tells me that optimizing custom URLs and TDK is a continuous process.First, planning should be done before the content is published, rather than弥补 afterwards.Secondly, the selection of keywords should conform to the user's search habits and avoid keyword stuffing.The URL should be concise, clear, easy to remember, and share. Finally, use the built-in traffic statistics and crawler monitoring functions of Anqi CMS to regularly analyze page visit data and search engine crawling status, and continuously adjust and optimize the TDK strategy based on data feedback.

By finely utilizing the 'Custom URL' and TDK features of Anqi CMS, we can build websites that are extremely friendly to search engines and users, thereby standing out in the fierce online competition and achieving effective content dissemination and business growth.


Frequently Asked Questions (FAQ)

Q1: I set up a custom URL, but the front page link did not change. Why is that?A1: If the custom URL does not work, it is usually because the pseudo-static rule configuration is incorrect or not enabled. Please go to the Anqi CMS backend "Function Management" -> "Pseudo-static Rule" page, check if "Custom Mode" has been selected, and ensure that your custom pseudo-static rule includes{filename}/{catname}or{module}The variables match the page type you set for the custom URL.In addition, after saving the rules, please make sure that the Nginx or Apache server configuration of the website has also been correctly updated and reloaded to make the pseudo-static rules effective.

Q2: Can a custom URL be used in Chinese? What if the custom URL I set is not unique?A2: For the SEO effect and universality of the URL, it is strongly recommended to use a combination of English letters, numbers, hyphens (-), or underscores (_) for custom URLs.Although Anqi CMS may automatically convert Chinese titles to pinyin as URL aliases in some cases, manually entering English, semantic URLs is more professional.If your custom URL is not unique across the entire site, the Anq CMS system will automatically add random numbers or characters to ensure uniqueness, which may make the URL less aesthetically pleasing and semantic.Therefore, when setting, be sure to ensure that the custom URL you enter is unique.

Q3: In the TDK tags,siteName=trueandsiteName=falseWhat is the difference?A3:siteName=trueIt is used for the page title (<title>A parameter of the tag, indicating that the website name will be automatically added to the title of the displayed page when the SEO title is displayed.For example, if the page title is "Product Details", and the website name is "AnQi CMS", then the final title displayed may be "Product Details - AnQi CMS". AndsiteName=falseThis means that the website name will not be added, and the page title will only display the "SEO title" you set during content editing, such as "Product Details". Usually, in order to enhance brand recognition and strengthen the association of brand words with search engines, we

Related articles

Does AnQiCMS provide a real-time preview feature for TDK settings, convenient for operation personnel to check the effect?

As a senior security CMS website operator, I fully understand your concern for TDK settings and their effect checks.TDK (Title, Description, Keywords) is the foundation of search engine optimization, and their correct configuration directly affects the visibility of a website in search engines.About whether AnQiCMS provides a real-time preview function for operation personnel to check the effect of TDK settings, I will explain it to you in detail.

2025-11-06

How to get the SEO title, keywords, and description of a specified single page using the `pageDetail` tag?

As an operator who deeply understands the operation of AnQiCMS, I know the core status of content in website construction, and the high quality of content not only reflects its depth and breadth, but also lies in whether it can be effectively discovered by target users and search engines.SEO (Search Engine Optimization) titles, keywords, and descriptions are the bridge of communication between content and search engines.It is crucial to correctly obtain and apply these SEO elements for the single-page content in AnQiCMS.

2025-11-06

How to get the SEO title, keywords, and description of a specified category page using the `categoryDetail` tag?

As an experienced CMS website operator, I am well aware of the core position of the category page in website structure and SEO strategy.A well-optimized categorization page that not only helps users quickly find the content they need, but also effectively improves the crawling efficiency and ranking of search engines.In Anqi CMS, we can accurately control the SEO metadata of each category page through a flexible tag system.

2025-11-06

How to get the SEO title, keywords and description of the specified Tag page using `tagDetail` tag?

As an experienced AnQiCMS website operator, I fully understand the importance of every content detail for website SEO, especially for aggregation content entry pages like tabs, whose SEO configuration directly affects the search engine's crawling and ranking performance.In AnQiCMS, the `tagDetail` tag is a key tool for obtaining detailed page information, which helps us accurately extract the required data to optimize the metadata of the page.

2025-11-06

How to set TDK editing permissions when there are multiple administrators on a website to ensure content consistency?

As a website operator familiar with AnQiCMS, I know that TDK (Title, Description, Keywords) is crucial for the performance of a website in search engines.How to effectively manage the editing permissions of TDK when a website is maintained by multiple administrators, ensuring the unity and professionalism of the content is a crucial aspect of operation.AnQi CMS with its flexible permission control mechanism provides the foundation for achieving this goal.###

2025-11-06

How does AnQiCMS's static cache mechanism affect the quick update of TDK and SEO effect?

As an experienced enterprise CMS website operator, I know that the core of a content management system (CMS) lies in how to efficiently publish, manage and optimize content to meet user needs and improve search engine performance.In an AnQiCMS system, which is characterized by high performance and SEO-friendliness, the static caching mechanism and the management of the website's TDK (Title, Description, Keywords) are key factors affecting the speed of website updates and search engine optimization effects.### AnQiCMS's static caching mechanism

2025-11-06

How to use the "Full Site Content Replacement" feature of AnQiCMS to batch update the specific keywords in TDK?

As an experienced website operator familiar with AnQiCMS, I know that content is the cornerstone of a website, and TDK (Title, Description, Keywords) is the 'facade' of content displayed in search engines.Effective management and optimization of TDK is crucial for improving the search engine visibility of the website.The 'Full Site Content Replacement' feature provided by AnQiCMS is our powerful tool for batch TDK optimization and maintaining consistency of website information.##

2025-11-06

How should the TDK be set for error pages (such as 404) in AnQiCMS?

As a website operator who deeply understands the operation of AnQiCMS, I know that every page, including error pages, plays an indispensable role in user experience and search engine optimization.A well-optimized 404 page can not only effectively retain potential lost users but also convey positive signals to search engines, maintaining the overall health of the website.

2025-11-06