In website operation, each page has its unique value and goal.For single-page sections such as 'About Us', 'Contact Us', and 'Terms of Service', they often carry the brand story, core values, or important contact information, which are crucial for building the corporate image and user trust.Therefore, configuring exclusive SEO information and personalized display templates for these specific pages is an effective way to enhance the professionalism and user experience of the website.

AnQiCMS deeply understands these needs, providing flexible and powerful features that allow you to independently configure SEO information and specify personalized template display for each single page.

【en】One, independent configuration of single-page SEO information

Effective SEO is the key to attracting natural traffic to a website, even for single-page sites.By using AnQiCMS's page management feature, you can tailor search engine optimization information for each single page to improve its visibility and click-through rate in search results.

【en】When editing or creating a new single page, you will see the following key SEO configuration items:

  1. SEO titleThis is the title displayed in the search engine results and also the title of the browser tab.It allows you to set a title for the single page that is different from the page name, more attractive, and includes core keywords.For example, if the page name is "About Us", the SEO title can be set to "AnQi CMS: Enterprise-level Content Management System Expert - About Us".A well-designed SEO title can significantly increase the click-through rate of a page.

  2. KeywordsYou can manually input keywords for a single page, please use English commas between multiple keywords,Separate it.These keywords help search engines understand the theme of the page, although modern search engines have reduced the weight of Meta Keywords, reasonable settings are still a supplement.

  3. Single page introductionThis content is usually displayed as a summary (Meta Description) in the search engine results page.It should be concise and accurately summarize the page content, and encourage users to click.When you do not fill in this item, the system will automatically extract the first 150 characters of the page content as a summary.Suggest writing a captivating introduction manually to better attract users.

  4. Custom URLCustom URLs are designed to build more semantically meaningful and search engine friendly page links.AnQiCMS will automatically generate a pinyin URL based on the single-page name you enter.If you are not satisfied with the automatically generated content, you can input it manually.It should be noted that the custom URL must ensure uniqueness throughout the entire site.{filename}or{catname}When naming the pattern of fields, the custom URL will take effect. A clear and concise URL can not only improve SEO but also make it easier for users to remember and share.

By the above configuration, your single-page application will have a dedicated SEO "identity card", showing a more professional appearance in search engines. In the template, you cantdkTags conveniently call this information, rendering it to HTML's<title>and<meta>Tags, ensuring that search engines can accurately crawl and understand.

Second, specify an independent template for single-page display

The visual presentation and user experience of the website are equally important.The AnQiCMS provides a feature to specify independent templates for single-page, allowing you to break away from the same design and create a unique display effect for special pages.This is especially useful for pages that require special layouts, custom scripts, or unique styles (such as landing pages, event pages, etc.).

In the single-page editing interface, you will find a field named "Single Page Template". This is where you can unleash your creativity.

  1. Specify the template nameBy default, all single pages will use the system predefinedpage/detail.htmlAs a template. But if you want a single page (such as "About Us") to have a unique design, you can enter the filename of your custom template in this field, for exampleabout-us.htmlThe system will prioritize the template you specify to render the page.

  2. The storage and naming of template filesYour custom template files need to be stored in the template directory structure of AnQiCMS. Usually, custom single-page templates can be placed in/template/您的模板目录/page/Below, or according to your template design habits, directly placed in the root template directory. For example, if you want the "About Us" page to use a file namedabout-us.htmlIf the template is specified, you need to make sure that the template folder exists in your project.about-us.htmlThis file should be present.

  3. Ensure the template file exists.This is crucial.AnQiCMS will strictly search for the template according to the path and filename you fill in the "Single Page Template" field.If the specified template file does not exist, the page will not open normally, causing the user to see an error.Therefore, before saving the single-page configuration, please make sure that the custom template file has been uploaded and named correctly.

  4. Template inheritance and reuse.Creating an independent template does not mean starting from scratch. The AnQiCMS template engine supports inheritance (extends) and references (includeFunctions such as }) You can design a basic page skeleton template (such asbase.html),then let all custom single-page templates inherit it. For common parts such as header, footer, sidebar, etc., they can be accessed throughinclude

Three, Overview of Actual Operation Process

Configure SEO and independent templates for single pages: the process is intuitive and simple.

  1. Log in to the AnQiCMS backend management interface.
  2. Navigate to "Page Resources" > "Page Management".
  3. Select the single page you need to edit, or click 'Add New Page' to create a new single page.
  4. Find and fill in fields such as 'SEO Title', 'Keywords', 'Single Page Summary', and 'Custom URL' in the editing form on the page.
  5. In the "Single Page Template" field, enter the custom template filename you wish to use for this page (for exampleabout-us.html).
  6. Click Save, and your single page will have independent SEO information and a personalized template display.

Through these features, AnQiCMS allows you to finely manage each single page, making it easy to either improve search engine rankings or provide a unique page experience.


Common Questions (FAQ)

Q1: I have set a custom URL for the single-page application, why does it still display the default URL structure when accessed?

A1: This is usually because the pseudo-static rules of your website are not configured correctly, or the current pseudo-static rules mode does not support custom URL fields. Please check the "Feature Management" -> "Pseudo-static Rules" settings in the AnQiCMS background, make sure you have selected the one that includes{filename}or{catname}This variable naming pattern has been set, and the pseudo-static configuration on the server (such as Nginx, Apache) has also taken effect.Custom URLs can only be recognized and applied by the system under the corresponding naming mode.

Q2: I specified a custom template on a single page, but when I access the page, it shows an error or blank space. What is the reason for this?

A2: The most common reason for this situation is that the template file you specified does not exist in the corresponding path on the server, or the file name is misspelled. Please make sure to check your template folder (for example/template/您的模板目录/Does the 【en】 exist of the template file you filled in the single-page settings (for example,about-us.html),and check if the filename is exactly the same (including case). AnQiCMS will strictly search for the template name you entered, and an error will be reported if it cannot be found.

**Q3: Single-page SEO information (such as SEO title, keywords) vs. the website's global SEO information