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.