The pseudo-static rule management feature can implement a customized URL rule display plan to achieve the advantages of a static page, while ensuring the need for real-time content updates.Helps with link personalization, enhancing the friendly nature of search engines (SEO), and making URLs aesthetically pleasing, etc.
AnQi CMS integrates commonly used website URL rules and provides 4 default static rule schemes, which provide convenient direct selection static rule schemes for domestic construction websites and foreign trade websites.Users can also use a custom advanced mode to achieve more free customization of URL rules, meeting the requirements of more flexible and personalized URL rules.
Plan 1: Numeric Mode
Plan 1 is a minimalist URL rule, displayed through ID, with a short URL length, and is used more on domestic websites.
Document details: /{module}/{id}.html
Document list: /{module}/{catid}(/{page})
Model homepage: /{module}
Single page detail: /{id}.html
Tag List: /tags(/{page})
Tag Details: /tag/{id}(/{page})
Plan 2: Naming Pattern 1
Plan 2 naming pattern, suitable for using different directories for articles based on different models, the default is to use the pinyin of the title as the URL, and it is widely used on domestic sites and foreign trade sites.
Document details: /{module}/{filename}.html
Document list: /{module}/{catname}(/{page})
Model homepage: /{module}
Single page details: /{filename}.html
Tag List: /tags(/{page})
Label details: /tag/{filename}(/{page})
Plan 3: Naming pattern 2
Plan 3 combines naming and numeric patterns and is relatively common on domestic websites.
Document details: /{catname}/{id}.html
Document list: /{catname}(/{page})
Model homepage: /{module}
Single page details: /{filename}.html
Tag List: /tags(/{page})
Tag Details: /tag/{id}(/{page})
Plan 4: Naming pattern 3
Plan 4 has been modified based on the naming pattern of Plan 2, showing different URL directories according to different categories, and has been classified according to categories for the purpose of classifying articles.It is relatively common on foreign trade websites.
Document Details: /{catname}/{filename}.html
Document list: /{catname}(/{page})
Model homepage: /{module}
Single page details: /{filename}.html
Tag List: /tags(/{page})
Label details: /tag/{filename}(/{page})
Plan 5: Custom Mode (Advanced Mode)
Plan 5 belongs to the advanced mode, using Plan 5 requires careful operation, improper settings may cause the front-end page to not open.
Custom static rule description
The custom rules currently allow free setting of 6 types of URL rules for link types, namely document details, document list, model homepage, page, tag list, and tag details.===and the preceding part may not be modified. For example:
archive===/{module}-{id}.html
category===/{module}-{filename}(-{page})
archiveIndex===/{module}.html
page===/{filename}.html
tagIndex===/tags(-{page})
tag===/tag-{id}(-{page})
Custom static rule variable
Plan 5 custom rules support the free combination of several built-in variables. Variables are enclosed in curly braces.{}, such as{id}.
The available variables are:
- Data ID
{id}; - Custom link name of document
{filename}; - Custom link name of category
{catname}; - Multi-level category custom link name
{multicatname},{multicatname}and{catname}Only one semicolon can be used - Category ID
{catid}; - Model table name
{module}; - year
{year}Month{month}Day{day}Hour{hour}, minute{minute}, second{second}, year-month-date hour-minute-second are only available in documents (archive); - Page number of pagination
{page}, page numbers should be placed within parentheses, such as:(/{page}).
