As an experienced AnQiCMS website operations personnel, I fully understand the importance of website URL structure for user experience and Search Engine Optimization (SEO).AnQiCMS provides a comprehensive static rule management feature to help users optimize the URL structure of their website and improve search engine friendliness.This article will detail how to enable the 'number mode' pseudo-static rules with one click in the AnQiCMS backend.


Steps to enable the 'Digital Mode' URL rewriting rule

In the AnQiCMS backend management interface, you can navigate to the "Function Management" module via the navigation menu and select the "Static Rules" option.This is the core area of configuring the website URL structure, which includes various preset static rules and custom patterns.

The operation of enabling the 'Number Mode' pseudo-static rule is very direct.On the pseudo-static rule management interface, you will see an option area listing all the predefined pseudo-static rules.You just need to find and click to select 'Digital Mode' in this area.After making your selection, be sure to click the save or confirm button on the page to ensure that your settings are successfully applied to the website.

The URL structure and注意事项 of the numeric pattern

Once the 'number pattern' pseudo-static rule is enabled, the links of your website content will follow a specific structure. For example, the URL of the document detail page may look like this./{module}/{id}.htmlof which{module}Represents a content model (such asarticleorproduct),while{id}It is the unique numeric identifier of the document. Similarly, the URLs of category pages, single pages, and tag pages will also be constructed using their respective numeric IDs.

It should be noted that when the website is running under the "digital mode" pseudo-static rules, when editing content, the "custom URL" field set in the document, category, single page, or tag editing interface (such asfilenameorcatnameIt will not take effect.The system will prioritize using the numeric ID of the content to generate the URL.Therefore, if you wish to use a custom URL path instead of a numeric ID, you will need to choose other pseudo-static rules that support filenames or category alias patterns.

The rule of using 'numeric mode' for pseudo-static URLs not only makes your website URL look simpler and more readable, but also effectively improves the search engine's ability to capture and understand the content of your website, thereby enhancing the SEO performance of your website.By using the simple operation process of AnQiCMS backend, you can easily enable the 'numeric mode' static rules to bring better user experience and search engine visibility to your website.


Frequently Asked Questions (FAQ)

1. Can I still use the 'Custom URL' field in the document editing page after enabling 'Number Mode'?

After enabling the "numeric mode" pseudo-static rule, the "custom URL" field will not take effect in the document, category, single-page, and tag editing pages.The system will use the unique numeric ID of the content to generate the link by default.{filename}or{catname}Variable pseudo-static rule mode.

2. Besides 'number mode', what pseudo-static rules does AnQiCMS provide?

AnQiCMS provides four preset static rules, including 'number mode', 'model naming mode', 'category naming mode 1', and 'category naming mode 2'.These patterns are distinguished according to the elements contained in the URL (such as model name, category name, ID, etc.) and their combination methods, in order to meet the needs of different website types and SEO strategies.You can view and select in the 'Static Rule Management Interface' on the backend.

3. After enabling 'numeric mode', if the website URL does not change as expected, what should I check?

proxy_passandtry_filesinstruction to ensure that the pseudo-static rules work properly.