How does AnQi CMS display the prompt information when the website is closed?

Calendar 👁️ 56

During the operation of the website, we often encounter situations where we need to maintain, upgrade the website, or temporarily close the website for special reasons.How can you inform visitors about the current state of the website in a friendly manner, so that they do not see a chaotic or error page, which is particularly important.AnQiCMS (AnQiCMS) fully considers this requirement, built-in convenient and flexible closed station prompt function, allowing you to easily deal with such situations.

Flexible configuration of website status, easily enable shutdown mode

The shutdown function of AnQi CMS is very intuitive. You just need to log in to the website backend, navigate to“Background Settings”Under the menu“Global Settings”options. Here, you will find a name called“Website Status”The settings option. You can select to switch the website status to "Closed."Once selected and saved, the website will immediately enter maintenance mode, stopping normal content access to the outside.

Following the 'Website Status' option is"Shutdown Prompt"Input box. This area is the window through which you convey information to visitors.You can fill in detailed shutdown notifications according to the actual situation, such as "The website is being upgraded and is expected to recover in X hours", "System maintenance, please visit later" or "Server failure, we are handling the emergency" and so on.This prompt information will be displayed directly to the visitor, ensuring they understand the reason for the website being inaccessible immediately.

Customize a dedicated shutdown page to enhance user experience

In addition to simple text prompts, Anqi CMS also gives you the ability to highly customize the shutdown prompt page. The system provides a dedicated template file -errors/close.htmlUsed to render the page content when the website is in a closed station state. This file is located in the template theme directory you are currently using, the specific path is usually/template/您的模板目录/errors/close.html.

This means you can freely edit as if designing a regular web pageerrors/close.htmlFile. You can:

  • Integrate brand elements:Integrate the website's Logo, brand colors, and other visual identification systems into the page to maintain consistency in the brand image.
  • Enrich the hint content:In addition to the core shutdown information, you can also add contact information, social media links, and even some humorous and witty copy to alleviate the visitor's waiting mood.
  • Optimize the visual effectThrough custom CSS styles and JavaScript scripts, you can create a beautiful, responsive standalone page that provides a good visual experience for users even when the website is not available.
  • Inform the recovery planIf it is possible to predict the website recovery time, it should be clearly displayed on the page to effectively reduce user anxiety and churn.

When the website enters the shutdown status, all access attempts will be redirected to this byerrors/close.htmlThe page is rendered by the template. This not only avoids the bad experience of users seeing error code or blank pages, but also conveys a professional image of the website being managed and maintained.

In short, the shutdown prompt function of Anqi CMS is an operational tool that combines practicality and flexibility.By simple backend settings and personalized template customization, you can easily communicate with users during website maintenance, minimize negative impact, and maintain good user relationships.


Frequently Asked Questions (FAQ)

1. Will the website shutdown affect search engine inclusion?Short-term shutdowns (such as a few hours to a day) usually have little impact on search engine indexing.If a long-term shutdown (more than one day) is needed, it is recommended to return the HTTP status code "503 Service Unavailable" on the website server side (for example, Nginx or Apache configuration) instead of the default "200 OK" or "404 Not Found".The 503 status code informs search engines that a website is temporarily closed and will recover soon, which can prevent search engines from reassessing and lowering the website's ranking after recovery.The shutdown feature of AnQi CMS is set to display a page by default, but it will not automatically send a 503 status code, which requires additional configuration on the server.

2. Does Anqicms support scheduled shutdown and automatic recovery functions?Currently, the Anqi CMS backend settings do not provide the "scheduled shutdown" or "automatic recovery" features directly.The website's shutdown status needs to be manually turned on and off in the "Global Settings".After you complete the maintenance work, you need to go into the background again and manually switch the "website status" back to normal operation.

3. Does the offline prompt page support inserting images or videos in the content?Yes, since the content of the offline prompt page iserrors/close.htmlTemplate file rendering, you can freely insert HTML code into this template file, including images (<img>tags), video (<video>Tags or embedded code, along with custom CSS styles and JavaScript scripts, to create a highly customized closed page.The 'station closure prompt' input box itself is usually used to enter plain text information.

Related articles

How to display custom site parameters on the front-end page?

When operating a website, we often encounter such needs: we need to display some flexible and variable site information on the front-end page, such as the company's establishment year, customer service hotline, promotional slogans for specific pages, or a brief announcement, etc.This information may need to be updated frequently, and it is inefficient and prone to errors to modify the template file each time.Fortunately, Anqi CMS has provided us with a very convenient way to manage and display customized site parameters on the back-end, making content operation more efficient and flexible.

2025-11-08

How to safely display HTML tags in a template without being parsed by the browser?

In website content management, we often encounter the need to display HTML code snippets, such as code examples in tutorials, and language annotations in technical articles.However, if the content containing HTML tags is directly output to the page, the browser will parse and render it, rather than displaying it as plain text.This could lead to layout errors on the page, more seriously, if unprocessed user input contains malicious scripts (such as `<script>alert('XSS')</script>`), it can trigger cross-site scripting (XSS) attacks

2025-11-08

How to dynamically display the canonical URL corresponding to the current page in the template?

In website operation, maintaining search engine friendliness is one of the key links to improving website visibility.Among them, the 'Canonical URL' plays a crucial role.It acts like a compass for search engines, telling them which page is the main version of the content, thus effectively avoiding ranking fragmentation due to content duplication or similarity.For content operators, correctly setting and displaying standard links is the foundation for ensuring that website content is efficiently crawled and indexed by search engines

2025-11-08

How to prevent content collection interference code and watermark display in AnQi CMS?

Today, with the increasing richness of digital content, the value of original content becomes more and more prominent, but the problems of content plagiarism and collection that come with it also make many content creators and operators headache.AnQiCMS (AnQiCMS) fully understands this pain point, and therefore built-in strong content protection mechanisms from the very beginning of the system design, including anti-crawling interference codes and image watermark functions.These features are designed to help users effectively defend original copyright, ensure content exclusivity, and thereby enhance content value.

2025-11-08

How to ensure that the website content of AnQi CMS adapts to display on different devices (PC, mobile)?

One of the most painful problems we face in running websites in this multi-screen era is how to make the content of the website display effectively on different devices.Users may browse using a PC, smartphone, or tablet. If the content does not adapt to display, the user experience will be greatly reduced.AnQiCMS (AnQiCMS) provides a very mature and flexible solution in this aspect, aiming to ensure that your website content looks pleasing on any device.### AnQiCMS' Various Content Adaptation Modes AnQiCMS understands that different websites have different needs

2025-11-08

How to customize the content display layout of the Anqi CMS homepage?

Your website's homepage is the first impression for visitors, as well as the showcase of the brand image and core content.How to make this "facade" both aesthetically pleasing and efficient in conveying information is a concern for every website operator.AnQiCMS (AnQiCMS) as a content management system that focuses on customization and flexibility, provides us with a very convenient way to freely create a dedicated homepage layout.

2025-11-08

How can I design a dedicated display template for the article list in AnQi CMS?

In AnQi CMS, designing a dedicated display template for the article list is a key step to creating a unique website style and optimizing the user experience.AnQi CMS provides us with a great degree of freedom with its flexible content model and powerful template engine (similar to Django syntax), allowing us to present diverse article lists based on different content types, marketing objectives, or user needs.The website's article list page is like a showcase of content, how to arrange and highlight the key points directly affects visitors' browsing interest and conversion effect.A well-designed list template

2025-11-08

What ways does AnQi CMS support to individually present the detailed content of a single document?

When using AnQi CMS to manage website content, if you want each document's detailed content to be presented in a unique and eye-catching way, the system provides very flexible customization settings.This is not just about changing the text color or font size, but also about deep customization from content structure to display form.Firstly, the foundation of personalized display lies in **content model and custom fields**.Our AnQi CMS allows us to create different content models based on actual business needs, such as 'articles', 'products', 'news', and even 'cases'.

2025-11-08