In website operation, each page has its unique value and goal.For pages 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 establishing 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 fully understands these needs, providing flexible and powerful functions, allowing you to independently configure SEO information for each single page and specify personalized template display.
Independent configuration of single-page SEO information
Effective SEO is the key to attracting natural traffic to a website, even single-page websites are no exception.By using the AnQiCMS page management feature, you can customize search engine optimization information for each single page, thereby improving its visibility and click-through rate in search results.
When editing or creating a new single-page, you will see the following key SEO configuration items:
SEO titleThis is the title displayed in the search engine results page, as well as the title of the browser tab.It allows you to set a title for a single page that is different from the page name, more attractive, and contains 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.
KeywordsYou can manually enter keywords for a single page, separated by English commas
,Separate. These keywords help search engines understand the theme of the page, although modern search engines have reduced the weight of Meta Keywords, but reasonable settings are still a supplement.Single page introductionThis content is usually displayed as a summary (Meta Description) in search engine results.It should concisely and accurately summarize the page content and encourage users to click.If you do not fill in this item, the system will automatically extract the first 150 words of the page content as a summary.Suggest writing a captivating introduction manually to better attract users.
Custom URLCustom URLs are designed to create more semantic and SEO-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, you can enter manually.It should be noted that the custom URL must ensure uniqueness throughout the entire site.In addition, only when the website's pseudo-static rules are enabled to include
{filename}or{catname}When naming the field pattern, the custom URL will take effect. A clear and concise URL can not only improve SEO, but also make it convenient for users to remember and share.
By the above configuration, your single-page will have a dedicated SEO "ID card", showing a more professional appearance in search engines. In the template, you cantdkLabels conveniently call this information, rendering it to HTML's<title>and<meta>Label, make sure the search engine can accurately capture and understand.
Second, specify an independent template for single-page display
The visual presentation and user experience of the website are equally important. AnQiCMS provides the function to specify an independent template for a single page, allowing you to break away from the same design and create a unique display effect for special pages.This is particularly useful for pages that require special layouts, the introduction of custom scripts, or the display of 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 let your creativity shine.
Specify the template nameBy default, all single pages will use the system's preset
page/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 here, such asabout-us.html. The system will prioritize using the template you specified to render the page.The storage and naming of template filesThe custom template file needs to be stored in the AnQiCMS template directory structure. Typically, custom single-page templates can be placed in
/template/您的模板目录/page/Below, or according to your template design habits, place it directly in the root template directory. For example, if you want the "About Us" page to use a template namedabout-us.htmlThe template, then you need to make sure that the template folder existsabout-us.htmlthis file.Ensure that the template file existsThis is crucial. AnQiCMS will strictly follow the path and filename you enter in the 'Single Page Template' field to find the template.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.
Template inheritance and reuseCreating an independent template does not mean starting from scratch. The AnQiCMS template engine supports inheritance (
extends) and references (include) Functions such as. You can design a basic page skeleton template likebase.html),then let all custom single-page templates inherit it. For common parts such as headers, footers, and sidebars, you can go throughincludeLabel introduction greatly improves the efficiency and code reusability of template development.This means you can only customize the content area of a single page without repeating the common structure.
3. Overview of the actual operation process
Configure the intuitive and simple process of setting up a single page dedicated SEO and independent template:
- Log in to the AnQiCMS backend management interface.
- Navigate to 'Page Resources' under 'Page Management'.
- Select the single page you need to configure for editing, or click "Add New Page" to create a new single page.
- In the page editing form, find and fill in fields such as 'SEO Title', 'Keywords', 'Single Page Introduction', and 'Custom URL'.
- Enter the custom template filename you want to use for the single page template (for example
about-us.html) - Click save, and your single page will have independent SEO information and a personalized template display.
Through the above functions, AnQiCMS allows you to finely manage each single page, whether it is to improve search engine rankings or to provide a unique page experience, it becomes effortless.
Frequently Asked Questions (FAQ)
Q1: I have set a custom URL for a single page, why does it still show the default URL structure when accessed?
A1: This is usually because the static rule of your website is not properly configured, or the current static rule mode does not support custom URL fields. Please check the 'Function Management' -> 'Static Rule' settings in the AnQiCMS backend to make sure you have selected the one that includes{filename}or{catname}This variable naming pattern is used, and the pseudo-static configuration on the server (such as Nginx, Apache) has also been enabled.The custom URL can only be recognized and applied by the system in the corresponding naming mode.
Q2: I have specified a custom template on a single page, but when I access the page, it shows an error or blank, 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 template file exist that you entered in the single-page settings (for example,about-us.html),and check the filename to be exactly consistent (including case). AnQiCMS will search strictly according to the template name you enter, and an error will be reported if it cannot be found.
**Q3: Single-page SEO information (such as SEO title, keywords) and the global website's