As an experienced website operations expert, I know that it is crucial to properly handle user access experience in the process of website maintenance.AnQiCMS (AnQiCMS) is an efficient and feature-rich enterprise-level content management system that also provides an intuitive and flexible solution in this aspect.Today, let's delve into the question of which template page the user will see after setting the website status to 'closed' in the Anqi CMS backend.
The core mechanism analysis: The working principle of the Anqi CMS shutdown function
Firstly, let us clarify the triggering mechanism of the "shutdown" function of the Anqi CMS.In the AnQi CMS backend management interface, you can find the 'Website Status' option under 'Global Settings' in 'System Settings.'When you switch this option from "Normal Operation" to "Shutdown", the system will take effect immediately, preventing all non-administrative users from accessing the normal content of the website.
The design初衷 of this feature is to deal with situations where the website needs to be temporarily offline for major maintenance, upgrades, data migration, or sudden issues.It can effectively avoid users from accessing the website in an unstable or incomplete state, thereby damaging the user experience and brand image.
Which template page will the user see? ——errors/close.html
Then, when the website is in a 'closed' status, which page will the user see? The answer is: errors/close.html.
According to Anqi CMS template design conventions, all pages related to errors or special statuses are uniformly stored in the current theme template directory.errors/In the folder, the following are included:errors/close.htmlIt is a prompt page specially designed for "shutdown" status. This means that regardless of whether your website theme is the "default template" or any custom theme you have created, as long as the website is set to shutdown, the system will automatically load the current active theme template folder.errors/close.htmlthis file.
It is worth mentioning that Anqi CMS also supports multi-end adaptation. If your website template has chosen the "code adaptation" or "computer + mobile" mode, and your theme template includesmobile/The directory, so when mobile users are in the closed station, the system will try to loadmobile/errors/close.htmlto ensure that a good closed station prompt experience is provided on different devices.
In-depth analysiserrors/close.html: Customize your closed station prompt
errors/close.htmlIt is not an unchangeable static page. As a content management system, Anqi CMS gives website operators full flexibility to customize this page.
Content customization:On the Anqi CMS backend in the "Global Settings" > "System Settings" page, in addition to the "Website Status", there is also a text box for the "Shutdown Prompt". Any content you enter here can be displayed using template tags in
errors/close.htmlPage call display. For example, use{% system with name="SiteCloseTips" %}Such a label can display the custom prompt information you enter in the background to the user. This allows you to quickly adjust the shutdown notification without modifying the code.Customize layout and style:For operators or developers with a certain level of front-end knowledge, you can directly edit
errors/close.htmlThe file itself. This means you can fully control the HTML structure, CSS styles, and JavaScript interactions of the page.You can design a unique layout for the closed page, for example:- Add the brand's logo and color scheme to maintain brand consistency.
- Embed a beautiful image or animation to enhance the visual experience.
- Provide social media links or customer service contact information for easy communication with users.
- Even a countdown timer can be added to preview the website's return time.
Through these custom options,errors/close.htmlIt is not just a cold system notification, but also an extension of your brand image and a bridge for communication with users.
Why do you need to design a landing page carefully?
A well-designed landing page is crucial for website operation:
- Improve user experience:Avoid showing the browser's default error page (such as "Unable to access this site") to users when the website is unavailable. This not only looks professional but also reduces user confusion and frustration.A friendly prompt page can make the user feel respected and informed.
- Maintain brand image: Even during maintenance, the consistency of the brand image should be maintained.A close station page with brand identification and style, which can strengthen users' recognition of the brand and convey a professional and responsible attitude of the website.
- Optimize SEO performance:From a technical standpoint, a good landing page should return an HTTP status code
503 Service UnavailableAlthough the AnQi CMS does not directly mention the HTTP status code for shutdown pages in the documentation, professional CMS systems usually handle this.503The status code tells the search engine that the website is temporarily unavailable, not permanently removed, which helps to quickly restore the original search engine ranking after the website recovers, reducing SEO losses. - Effective communication:The shutdown page is a platform that informs users about the situation of the website, provides expected restoration time or alternative solutions (such as temporary announcement links, customer service contact information), and helps manage user expectations.
Guide: How to set up and optimize the shutdown page
Setting up the shutdown page for AnQi CMS is a simple process:
- Log in to the backend:Log in to your AnQi CMS backend using the admin account.
- Navigate to System Settings:Find "Global Settings" in the left menu bar, click to expand and select "System Settings".
- Configure shutdown status and prompts:On the "System Settings" page, find the "Website Status" option and set it to "Offline".Immediately, enter the maintenance notice, expected recovery time, contact information, and other information you want to display to the user in the "Station Closure Prompt" text box below.
- Save settings:Click the "Save" button at the bottom of the page to make the configuration effective.
- (Optional) Customize the template file: If you need a more complex layout or functionality, you can find and edit the current theme under the "template design" feature in the backend.
errors/close.htmlFile. You can use the Django template engine syntax, combined with backend settings,SiteCloseTipsor other system variables to create a uniquely crafted closed station page.
Summary
The "Shut Down" feature of AnQi CMS, with highly customizableerrors/close.htmlA template page provides a powerful and flexible tool for website operators to handle temporary offline needs in website maintenance in a professional and user-friendly manner.By simple backend settings and possible template modifications, you can still maintain good communication with users during website maintenance, maintain brand image, and minimize the negative impact on SEO.
Frequently Asked Questions (FAQ)
1. Can I set the shut down page to another custom template path instead of the default oneerrors/close.html?The template convention of AnQi CMS is relatively fixed,errors/close.htmlIt is the default closed site template path specified by the system, which cannot be directly changed to another path in the background. However, you can modifyerrors/close.htmlThis file, introduces other local templates or uses more complex template logic to achieve a similar effect. Essentially, all customization will be centered arounderrors/close.htmlthis core file.
2. What page will mobile users see when the site is closed?If your website template supports multi-platform adaptation (such as choosing 'code adaptation' or 'computer + mobile' mode), and it exists under the current thememobile/errors/close.htmlThis file, so mobile users will see this mobile end-off page first when they close the station. If it does not exist, it will fall back to the PC end.errors/close.htmlPage. It is recommended to prepare an adapted offline page for mobile devices to ensure **experience.
3. What key information should be included in the offline page content?An excellent maintenance page should include the following key information: clear maintenance notifications (indicating the current status of the website), expected recovery time (providing specific date and time), a brief apology, brand logo and name, and necessary contact information (such as customer service phone number, email, or social media links) so that users can contact you in emergencies.