How to set the website to "closed" status and display a custom prompt message in AnQiCMS?

Calendar 👁️ 67

During the operation of the website, it is sometimes necessary to temporarily close the website, whether it is for system upgrades, data maintenance, or a brief adjustment of content, AnQiCMS provides a simple and efficient website shutdown feature to help us manage the temporary shutdown status of the website gracefully.This not only avoids the user from seeing the error page and affecting the experience, but also clearly conveys the information and maintains the brand image.

Next, we will learn in detail how to set the website to "shutdown" status in AnQiCMS and display personalized prompt information.


The first step: enable the website's 'shutdown' status

First, we need to log in to the AnQiCMS management backend. After logging in, please find theBackend settings”Option. Click to expand and select “Global feature settings.

In the global feature settings page, you will see a name called “Website statusThe option. By default, the website is usually in a “normal operation” state. To set the website to closed, just click the dropdown menu and switch it to “Closedstate.

After making a selection, be sure to click the 'Save' button at the bottom of the page.Once the settings are saved, all users visiting the website will no longer see the normal content but will display the prompt information we have preset.

Step 2: Customize the shutdown prompt information

After enabling the site closure status, the next step is to inform visitors of the reason for the temporary closure of the website. On the "Global Feature Settings" page, next to "Website Status", you will find a namedShut down promptText box."

This is the area where you can customize the prompt for visitors.You can enter a short and friendly notification, such as 'The website is being upgraded, expected to resume after X hours', or provide other contact information, or even a simple greeting to inform users of the latest updates to the website.AnQiCMS will display the content you enter here as the main text information that users see when visiting the closed station website.

Similarly, after completing the information input, do not forget to click the "Save" button to make your custom prompt effective.

Step 3: Beautify your offline page提示(optional but recommended)

Although the "shutdown prompt" text box in the background can meet basic needs, AnQiCMS provides a more flexible way to customize the appearance of the shutdown page. AnQiCMS provides a dedicated template file for the shutdown status by default, usually located in the current template theme folder.errors/close.html(or in the case of flat mode'serrors_close.html)

By editing this file, you can completely control the layout and style of the landing page to match your brand image and provide a more personalized experience.

To edit this file, you can go to the background and "template designFind the corresponding template file to edit.errors/close.htmlIn the template, you can use AnQiCMS template tags to dynamically call information set in the background:

  • Use{% system with name="SiteCloseTips" %}Display the shutdown prompt text you filled in the "Global Function Settings" in the background.
  • Use{% system with name="SiteName" %}Display your website name.
  • Even you can use it.{% contact with name="Cellphone" %}Display the phone number you configured in the "Contact Settings" for easy user contact.

For example, you can add a website logo, an eye-catching background image, or social media links to this template to make users feel the professionalism of the brand while waiting.Customize this page to greatly enhance the user experience, even if the website is temporarily closed, it can still leave a good impression on users.


By following these simple steps, you can easily set the AnQiCMS website to a closed station status, and also provide users with a good and professional waiting experience through customized prompt information and page design.

Frequently Asked Questions (FAQ)

  1. Will the search engine still index after the website is closed?A short downtime (such as a few hours to a day) usually has little impact on search engine indexing. However, if the downtime is longer (such as several days or even longer), it is recommended thaterrors/close.htmlSet the correct HTTP status code (such as 503 Service Unavailable) in the page and clearly inform the search engine of the reason for the shutdown and the expected recovery time.Although AnQiCMS's shutdown feature is mainly aimed at users, optimizing the content and status codes of the shutdown page can help reduce the potential negative impact on website SEO.

  2. Can the countdown be set on the closure prompt page?AnQiCMS backend "Global Function Settings" text box for "Shutdown Prompt" does not support dynamic countdown functionality. However, if you want to display a countdown on the shutdown page, you can editerrors/close.htmlTo implement a template file.You can embed custom JavaScript countdown code in this file, so that it can dynamically display the preset recovery time, providing users with more intuitive waiting information.

  3. Can I still access the backend normally while the website is in shutdown status?Yes, the shutdown feature of AnQiCMS only affects the front-end users' access to the website content. Your admin control panel (usually accessed through您的域名/system/Visit) you can still log in and operate normally. This means that during the closed period, you can continue to maintain, update, or adjust the website's content in the background without any restrictions.

Related articles

How to use Tag labels in AnQiCMS to associate and display related documents on the front end?

AnQiCMS provides powerful classification functions to organize the website structure, and also opens up new ways for deep association and multi-dimensional display of content through flexible Tag label mechanisms.Imagine that your website is like a library, with different shelves for categories, and Tag tags are like different subject keywords on books, allowing readers to find books with similar themes scattered on different shelves according to their interests.Next, let's delve into how AnQiCMS uses Tag labels to make your website content more intelligent and rich in front-end display

2025-11-08

How to display the number of views and comments for articles in AnQiCMS?

In content operation, the number of page views and comments on articles is an important indicator of the popularity and user engagement of the content.They not only provide readers with references, but also help operators to understand content performance.AnQiCMS as a powerful content management system naturally also provides a convenient way to display these real-time data, making your website content more interactive and transparent.In AnQiCMS, whether it is articles, products, or other content types, they are all uniformly referred to as "documents" (archive)

2025-11-08

How to customize the navigation menu in AnQiCMS and implement multi-level dropdown display on the front end?

In website operation, a clear and intuitive navigation menu is the core of user experience, as well as the key to content organization and promotion.AnQiCMS (AnQiCMS) fully understands this point, providing you with a flexible and powerful navigation menu customization feature, and supporting multi-level dropdown display on the front end to make your website structure clearer and content access more convenient.Next, we will together learn how to easily set up and apply these navigation in AnQiCMS.

2025-11-08

How to use the 'if logical judgment tag' in AnQiCMS template to control the conditional display of content?

## Flexible use of the "if" tag in AnQiCMS template to achieve accurate content presentation In website content management, we often need to display different content based on different conditions, such as displaying a prompt in a specific situation, displaying different information based on the user's identity, or only rendering a specific block when certain data exists. The AnQiCMS template system provides us with a powerful and easy-to-use "if logical judgment tag" that helps us easily achieve these dynamic content display needs

2025-11-08

How to display category thumbnails or Banner group images in AnQiCMS?

The visual presentation of website content is the key to attracting users and enhancing experience.Especially on the category page, a beautiful thumbnail or a set of eye-catching banner images can make the content clear to the user and stimulate browsing interest.AnQiCMS as a powerful content management system, provides a flexible image management and calling mechanism, allowing you to easily set and display unique visual elements for website categories.### One, Background Configuration: Add Visual Attraction to Your Categories Firstly, you need to make the corresponding configuration in the background to display images for categories in AnQiCMS

2025-11-08

How to implement content list filtering by custom parameters in AnQiCMS?

In AnQi CMS, flexibly displaying and filtering content is one of the core needs for website operation.As the content structure of a website becomes increasingly complex, for example, if you operate an e-commerce platform that needs to filter products by color and size, or a real estate website that needs to filter housing resources by type and area, traditional classification tags may be insufficient.This is using the powerful custom parameter function of Anqi CMS, which can easily realize the filtering and display of content lists according to the parameters you define, greatly enhancing user experience and the organization efficiency of website content.

2025-11-08

How to display the visitor message form and manage the message results in AnQiCMS?

Maintaining interaction with website visitors, collecting user feedback is a very important link that each website operator attaches great importance to.Whether it is to answer doubts, collect suggestions, or provide customer service, an efficient and convenient comment system can greatly enhance user experience and operational efficiency.AnQiCMS fully understands this and provides us with a simple and efficient visitor message function, making the entire process from form display to result management easy and effortless. ### Easily Build Visitor Message Form AnQiCMS uses flexible template tags to display visitor message forms on the website frontend.

2025-11-08

How to retrieve and display details of a specific user group (such as VIP level) in AnQiCMS template?

In AnQiCMS, managing users and content, we often encounter the need to display different information based on the user's identity (such as VIP level).The powerful template engine and user group management function of AnQiCMS makes it very intuitive and efficient to achieve this goal. Today, let's discuss how to retrieve and flexibly display detailed information of specific user groups in the AnQiCMS template, such as the name of the VIP level.

2025-11-08