As an experienced CMS website operation person of an enterprise, I know that a clear and standardized URL structure is crucial for the website's search engine optimization (SEO) and user experience.AnQi CMS was designed with this in mind, providing clear support and standards for custom URLs for content.Now, I will give a detailed answer to the question about the character types supported by Anqi CMS custom URLs, as well as whether spaces or special symbols are allowed.

Custom URL character specifications and restrictions of AnQi CMS

In Anqi CMS, whether setting a custom URL for documents, categories, tags, or single pages, the core principle is to generate links that are friendly to search engines, easy for users to remember and recognize.The system has clear character requirements for the content entered by the user in the "Custom URL" field in the background.

According to the rules of AnQi CMS, users are only allowed to use when setting a custom URL for contentEnglish letters (a-z, A-Z), numbers (0-9) and underscore (_)This design aims to ensure the universality and stability of URLs, avoiding various technical issues caused by special characters.

This means that when you fill in a custom URL,Do not contain spacesSpaces in URLs need to be encoded, for example, converted to%20This makes the URL long and difficult to read. Similarly,Most special characters are also not allowedFor example,!@#$%^&*()+=[]{}\|;:'",.<>/?Characters cannot be used directly in the custom URL field.

Automatically generated with uniqueness guarantee

For the convenience of operators, Anqi CMS provides a very practical feature: When you create documents, categories, tags, or single pages, if you do not manually fill in the "Custom URL" field, the system will automatically convert the title of the content you enter into pinyin and generate a recommended custom URL.This automatically generated URL will strictly follow the principle of only containing letters, numbers, and underscores.

In addition, Anqi CMS also requires that all custom URLs must be unique throughout the entire site.This mechanism can effectively avoid the problem of duplicate content URLs and ensure that each page has a unique address.If you try to set a custom URL that is already occupied by other content, the system will automatically add random numbers at the end to ensure its ultimate uniqueness.

Although in Anqi CMS's pseudo-static rules, hyphens (-) may be used to connect different components of URLs, for example/{module}-{id}.htmlPlease note that the hyphen here is defined in the pseudo-static ruleseparatorInstead of entering characters directly in the 'Custom URL' field. The content you enter in the 'Custom URL' field in the background is as{filename}/{catname}The variable values embedded in the overall URL structure must still follow the restrictions of letters, numbers, and underscores.

In summary, Anqi CMS is committed to providing you with a clear, standardized, and easy-to-manage URL environment.Follow these simple character standards to help your website maintain good accessibility and search engine friendliness.


Frequently Asked Questions (FAQ)

1. Why does Anqi CMS custom URL not allow spaces or special characters?Custom URLs are not allowed to contain spaces or special characters to ensure the standardization, readability, and stability of URLs. In web standards, spaces and many special characters in URLs need to be URL-encoded (for example, spaces are converted to%20This will make the URL complex and hard to remember.In addition, certain special symbols may cause parsing errors in different systems or browsers, affecting the normal access to the page and the crawling efficiency of search engines.Follow the convention of letters, numbers, and underscores, which can maximize the compatibility and SEO-friendliness of URLs.

2. If I do not fill in the 'Custom URL' field, how will the system handle it?If you do not manually fill in the 'Custom URL' field when creating content, Anqi CMS will intelligently convert the title of the content you enter into pinyin and automatically generate a recommended custom URL.For example, if the title is “AnQi CMS Tutorial”, the system may automatically generate a URL similar to “anqicms_jiaocheng”.This automatically generated URL will also follow the rule of only containing letters, numbers, and underscores.

3. What if the custom URL I set duplicates existing content?The AnQi CMS system will强制保证ensure all custom URLs are unique throughout the entire site.If you try to set a custom URL that has already been used by other content, the system will detect the duplication and automatically append a random number to the URL you enter to ensure the uniqueness of the new URL.This can avoid page access problems caused by URL conflicts and maintain the neat structure of the website.