What template page will the user see after AnQiCMS's 'Website Status' is set to 'Offline'?

Calendar 👁️ 59

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.

  1. 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 inerrors/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.

  2. Customize layout and style:For operators or developers with a certain level of front-end knowledge, you can directly editerrors/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 code503 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:

  1. Log in to the backend:Log in to your AnQi CMS backend using the admin account.
  2. Navigate to System Settings:Find "Global Settings" in the left menu bar, click to expand and select "System Settings".
  3. 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.
  4. Save settings:Click the "Save" button at the bottom of the page to make the configuration effective.
  5. (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.

Related articles

How can you safely stop AnQiCMS from running on MacOS?

As an experienced website operations expert, I am well aware of the importance of a stable and efficient content management system for corporate operations.AnQiCMS (AnQiCMS) leverages the efficiency and rich features of the Go language to provide excellent solutions for many small and medium-sized enterprises.However, whether it is for maintenance, upgrading, or simply needing to temporarily shut down, safely and correctly stopping the operation of AnQiCMS is a fundamental and critical task.

2025-11-06

What are the preparations needed to restart the AnQiCMS project after a long halt?

Revive a long-dormant AnQiCMS project, which is both a challenge and an opportunity for website operators.A long period of stagnation means that the technical environment may have changed, and the system may have accumulated unresolved problems internally.As an experienced website operation expert, I know that meticulous inspection and comprehensive planning are the foundation for success when restarting the AnQiCMS project.Below, I will detail the necessary preparations from multiple dimensions for you.

2025-11-06

How to analyze the stop state or error logs if AnQiCMS fails during startup?

As an experienced website operations expert, I have been dealing with AnQiCMS (AnQi Content Management System) in my daily work for several years, and I am well aware of its efficiency and simplicity.However, even the most powerful system is prone to encountering problems with "soil adaptation", and the most troublesome is probably the sudden occurrence of *** during the startup process.When AnQiCMS fails to start on time and the website goes offline, how can we calmly analyze its shutdown status or error logs, quickly locate the problem, and solve it?

2025-11-06

After stopping the AnQiCMS service, will the occupied port be released immediately? How to verify?

As an experienced website operations expert, I know that fine control of server resources is the key to ensuring the stable operation of the website when managing a content management system (CMS).The occupation and release of network ports, especially a seemingly minor aspect that could potentially lead to major problems.Today, let's delve into the discussion of whether the port occupied by the AnQiCMS service will be released immediately after it stops, as well as how we operators should go about verifying it.

2025-11-06

Does the Docker deployed AnQiCMS container lose its data after stopping?

## Docker deployment of AnQiCMS, will the data really be lost after stopping?—Website Operation Expert Deeply Deciphers for You Hello everyone, I am your veteran website operation elder.In the digital wave, an efficient content management system (CMS) is the cornerstone of website operation, and Docker, with its lightweight and portable features, is gradually becoming the preferred solution for deploying various applications.AnQiCMS as an enterprise-level content management system developed based on the Go programming language, has won the favor of many users with its efficient and customizable features.

2025-11-06

What are the steps to stop the AnQiCMS container in 1Panel or aaPanel?

Certainly, as an experienced website operation expert, I am happy to provide a detailed explanation of the steps to properly stop the AnQiCMS container operation in popular server management panels like 1Panel or aaPanel. --- ## Graceful shutdown: Practical guide to stopping AnQiCMS container in 1Panel or aaPanel In daily website operation, we often need to maintain, upgrade, or troubleshoot services.

2025-11-06

Does stopping the AnQiCMS service affect the access to the back-end management interface?

Hello, as a senior website operations expert, I know that every technical detail may affect the stability and management efficiency of the website.Today, we will delve deeply into a core issue about AnQiCMS service: Will stopping the AnQiCMS service affect the access to the back-end management interface?The answer is affirmative: **Stopping the AnQiCMS service will directly result in the inability to access your website's front-end and back-end management interfaces.

2025-11-06

How to check if the `stop.sh` script of AnQiCMS has sufficient execution permissions?

As an experienced website operations expert, I know that a stable-running website cannot do without proper management of the background scripts.AnQiCMS thanks to its high efficiency and security features, is deeply loved by our operation staff.In routine maintenance, whether it is for version upgrades, configuration adjustments, or simple restart operations, we may need to use the system's built-in `stop.sh` and `start.sh` scripts.However, a seemingly simple operation may be hindered by a minor permission issue.

2025-11-06