How to configure pseudo-static rules to achieve diverse content link display modes?

Calendar 👁️ 54

As website operators, we all hope that the website URL can be easily crawled by search engines, and be clear to users, even to understand the content of the page directly from the link.A clear and meaningful URL not only enhances user experience but is also an indispensable part of search engine optimization (SEO).Aq CMS knows this and therefore provides a powerful and flexible static rule configuration function, allowing us to create diverse content link display modes according to our needs.

Why is pseudo-static so important?

Imagine two links:www.yourdomain.com/view.php?id=123&cat=456andwww.yourdomain.com/articles/seo-guide-2023.html. It is evident that the latter is not only more readable but also easier for users to remember and share.For search engines, static or pseudo-static URLs are also easier to understand the page theme and help with keyword rankings.The static page technology can change the dynamic generated web page address through the server rules, making it look like a static page URL, without actually generating static files, balancing the convenience of managing dynamic content and the SEO advantages of static URLs.

The static ability of Anqi CMS: Basics and Advanced

The pseudo-static function design of Anqi CMS is very user-friendly, whether you are a beginner or an experienced user with advanced customization needs, you can find the configuration method that suits you.

Get Started Quickly: Built-in Rules

For those who are just getting started with pseudo-static or want to go live quickly, the four built-in pseudo-static rules of Anqi CMS provide great convenience. You don't have to manually write complex rules, just select them in the background to apply:

  1. Numeric pattern: URLs of this pattern typically contain the ID of the content, for example/article/123.html. It is simple and straightforward, suitable for websites where the ID is the main identifier.
  2. Model naming pattern: The URL will include the alias and custom link name of the model and content, for example/news/latest-tech-trends.html. This helps users and search engines understand the model (such as "news") and specific content.
  3. Classification naming pattern 1: The URL will include the category ID and the ID or page number of the content, for example/category/5/page-2.html. This pattern is very useful when it is necessary to emphasize the category hierarchy.
  4. Classification naming pattern 2: A URL will use a categorized custom link name and a custom link name for the content, for example/solutions/marketing-strategy-guide.html. This will make the URL more semantic, fully reflecting the category and theme of the content.

These built-in patterns cover most common needs, just in the backgroundfunction management-u003eStatic rulesSelect and save it, and you can see the effect immediately

Deeply customize your URL: Custom rules

If you have more refined and personalized needs for URL structure, AnQi CMS provides powerful custom static rule settings.This allows you to customize unique URL patterns for different content types on the website (documents, categories, single pages, tags, etc.)

The configuration format of the custom rule is very clear, each rule is composed byRule name===Rule valueThe following six types of content types are supported by Anqi CMS to define rules:

  • archive: Document detail page
  • category: Category list page
  • archive index: Model homepage (for example, the list page of all articles)
  • page: Single page detail page
  • tag index: List page of all tags
  • tag: Document list page under a specific tag

When defining rule values, you can flexibly use a variety of variables to construct URLs:

  • {id}: Unique ID of the content.
  • {filename}Custom link alias for content (document, single page, tag).This alias needs to be manually set during editing, usually the pinyin or English abbreviation of the content, and must be unique throughout the entire site.
  • {catname}Category custom link alias. It also needs to be set when editing the category and must be unique.
  • {catid}Category ID.
  • {module}URL alias of content model (such as article, product).
  • (-{page}): Used for pagination. This variable needs to be enclosed in parentheses()Enclosed to indicate that it is displayed only when pagination exists.

Let's understand how these variables combine to form a diverse set of URLs with a few examples:

  1. Document details page (archive)

    • If you want the article URL to display as:/articles/文档ID.html:archive===/articles/{id}.html
    • If you want the URL to be more descriptive, for example:/article/seo-optimization-tips.html:archive===/{module}/{filename}.html
    • Even can be combined with category aliases:/news/industry-insights/market-analysis.html:archive===/{catname}/{filename}.html(Please note that if the category hierarchy is deep, this pattern needs to ensure that each level's{catname}have been set correctly and do not conflict.)
  2. Category list page (category)

    • Display by category ID:/products/category-15.html:category===/{module}/category-{catid}.html
    • Display by category alias and support pagination:/solutions/digital-marketing/page-2.html:category===/{catname}(-{page}).htmlHere(-{page})Means, if it is the first page, the URL does not contain/page-1If it is the second page, then display/page-2.
  3. Single page (page)

    • For single-page pages like 'About Us':/about-us.html:page===/about-us.htmlOr use a custom link alias:page===/{filename}.html
  4. Tab (tag)

    • Display by tag ID:/tag/tag-10.html:tag===/tag-{id}.html
    • Display by tag custom link name:/tag/seo-keywords.html:tag===/tag/{filename}.html

These custom rules are also in the backgroundfunction management-u003eStatic rulesSet in, after selecting “Custom mode”, you can fill in your exclusive rules in the text box. In filling{filename}and{catname}Be sure to inDocument editing/Category editingOr **Tags

Related articles

How to optimize the URL structure to make the content result page more conducive to search engine crawling and display?

In content operation, a well-structured, search engine-friendly URL (Uniform Resource Locator) not only improves user experience but is also the key to helping search engines efficiently crawl and understand website content.AnQiCMS (AnQiCMS) knows this, and therefore built-in powerful URL optimization features in the system design, so that the content result page performs better in search engines.### URL Optimization Basics of AnQi CMS: URL Rewriting By default, many dynamic websites' URLs contain question marks, equal signs, and a long string of difficult-to-understand parameters, such as `example

2025-11-08

How to display multilingual content and switch on the AnQiCMS website?

In today's increasingly globalized world, many companies hope that their websites can serve users from different language backgrounds.AnQiCMS (AnQiCMS) understands the importance of this requirement and has integrated powerful multilingual support capabilities into the system design from the beginning, helping you easily build and manage multilingual websites. To display multilingual content on your AnQiCMS website and allow users to switch between languages, this primarily revolves around its "multi-site management" core function.The Anqi CMS treats each language as an independent site for management

2025-11-08

How to customize the content model to meet the needs of personalized content display?

Today, with the increasing refinement of content operation, we often find that relying solely on traditional 'article' and 'product' categories is no longer sufficient to meet the diverse content display needs of websites.Each business scenario has its unique attributes and information structure. How to make the website's content management system (CMS) like a considerate tailor, tailoring "garments" for each type of content, is exactly what we strive for.The flexible content model feature provided by AnQiCMS (AnQiCMS) just helps us achieve this vision.Why do we need a custom content model?Imagine

2025-11-08

How to implement unified and efficient display of content for multiple sites in AnQiCMS?

AnQiCMS (AnQiCMS) is a content management system tailored for small and medium-sized enterprises and content operation teams, one of its core highlights being excellent support for multiple sites.Under the increasingly prevalent trend of multi-brand and multi-channel operation, how to efficiently manage and display the content of multiple websites on a single platform has become a focus of many users.The Anqi CMS is built around this need, creating a flexible and powerful solution to ensure the consistency of content display and operational efficiency.### Core Pillar

2025-11-08

How to add recommended attributes to articles, products, and display them in front-end categories?

In content operation, how to effectively highlight important information so that users can find the core content at a glance, which is the key to improving the website effect.AnQiCMS (AnQiCMS) provides a flexible recommendation feature that allows you to easily mark the importance of articles, products, or other content and display them on the website front-end as needed.This article will introduce in detail how to add these recommended attributes to the content in the background, as well as how to classify them in the front-end template.--- ## Use Anq CMS recommended attributes to make your content shine on the front page In content management and presentation

2025-11-08

How to automatically extract keywords from the article content for SEO display?

In today's highly competitive online environment, content operators are well aware of the importance of keywords for website SEO.They are not only the bridge for search engines to understand the content of your website, but also the entry point for users to find your information.However, manually screening and extracting keywords from each article is undoubtedly a time-consuming and labor-intensive task.Is there a more intelligent and automated way to handle this problem?AnQiCMS (AnQiCMS) deeply understands the pain points of content operators, integrating SEO optimization deeply into the system design.It provides a series of powerful SEO tools

2025-11-08

How can AnQi CMS automatically generate article summaries to optimize list content display?

In website operation, how to make the content list page attractive to user clicks and help search engines better understand the page content is a topic that needs continuous optimization.Among them, the quality of the display of the article summary plays a key role.AnQiCMS provides an efficient solution in content management, especially in the automatic generation and optimization display of article summaries, which provides great convenience for content operators.Why is the article summary crucial in the display of content lists?Imagine when a user visits a website's blog or product list page

2025-11-08

How to insert images, videos, and code blocks in the content editor to enrich the display?

In today's era where content is king, an excellent article is not just a pile of words, but also needs to be illustrated with pictures and text, dynamic and static, even presented clearly with code, in order to better attract readers' attention and convey effective information.AnQi CMS knows this, therefore it has integrated a variety of practical functions into the content editor, allowing content creators to easily insert images, videos, and code blocks, making the content more rich and vivid.Next, we will delve into how to巧妙运用 these tools in the Anqi CMS content editor, making your articles come alive with new vitality.### Insert a beautiful image

2025-11-08