How to display a specific prompt to the visiting user when AnQiCMS is in shutdown mode?

Calendar 👁️ 66

During the use of the AnQiCMS website management, we occasionally encounter situations where we need to temporarily shut down the website, such as for system upgrades, content maintenance, or data migration, etc.How to clearly display specific prompt information to visiting users at this time, rather than a cold error page, is particularly important.AnQi CMS is well-versed in this, providing us with a highly user-friendly offline notification feature that keeps the website maintaining a professional image even when temporarily 'resting'.

Why do you need a customized shutdown prompt?

Imagine that when you have worked hard to run a website and it is undergoing maintenance, users only see a "404" or "Page not found" prompt. This undoubtedly has a significant impact on user experience and could even lead to user loss.A clear and friendly shutdown notice can effectively inform visitors of the current status of the website, the expected recovery time, and even leave contact information, greatly reducing users' negative emotions and enhancing the professionalism of the website.

The shutdown function design of Anqi CMS is to meet such a refined operation demand.

How to set the shutdown prompt information in Anqi CMS?

It is very intuitive to operate. You just need to log in to the Anqi CMS backend management interface, and you can easily configure it with a few simple steps:

First, find and click on the menu bar on the left side of the backgroundBackend settingsSelect thenGlobal feature settings. This is the place where the core configuration of the website is managed.

After entering the "Global Function Settings" page, you will see a name called "Website statusThe option. Usually, your website is in "normal operation" status. To enable the shutdown mode, simply switch this option to theClosedstate.

Immediately below the "Website Status" option, there will be a named "Shut down promptThe text box. This is where you can directly enter the prompt information you want to display to visitors.You can simply write: "The website is under maintenance and is expected to recover in XX hours. We apologize for the inconvenience!"}Please provide a more specific reason and contact information for user maintenance.After filling in, remember to click save, your website will immediately enter shutdown mode and display the prompt information you set to all visitors.

Deep customization: Modify the shutdown template page

Although directly entering text in the background can meet basic needs, if you want the closed station page to have richer visual effects, such as including brand Logo, specific layout, or more complex HTML content, Anqi CMS also provides powerful template customization capabilities.

The Aqin CMS provides a dedicated template file for the closed site status, which is located in the directory of the theme you are currently using.errors/close.html. You can find and edit this file through FTP or the "Template Design" feature in the background:

  1. Find the template file:Enter/template/您的模板名称/errors/close.html. For example, if you are using the default template, the path might be:/template/default/errors/close.html.
  2. Edit content:You can edit it freely like editing other web page filesclose.htmlHTML structure and CSS style. In this file, you can use the built-in functions of Anqi CMS.systemLabel to dynamically call the content you enter in the "site closure prompt" text box on the back end. The specific call method is:{% system with name="SiteCloseTips" %}. The text you input in the background will be automatically filled into the specified position of this template, and you can place it anywhere you want.
  3. Add other elements:In addition to the text prompts, you can alsoerrors/close.htmlAdd a website logo image, background image, contact us button, and even a simple countdown function (if your template supports it).This makes the closed station page also become part of the brand display, rather than just a simple notification.

In this way, no matter which adaptive, code adaptation, or PC + mobile independent site model your website adopts, this customized shutdown template will present itself elegantly to visitors when the website closes, ensuring that the user experience remains online even in very difficult times.

A small suggestion for the closure of the station operation

  • Maintain transparency of information:Clearly inform users of the reason for the website closure and the expected recovery time, which can effectively alleviate user anxiety.
  • Provide an alternative:If possible, leave your social media link, customer service phone number or email, so that users can still contact you during the website closure.
  • Focus on Search Engine Optimization (SEO):The Anqi CMS will automatically return the HTTP status code "503 Service Unavailable" to search engines when in shutdown mode.This informs the search engine that your website is temporarily unavailable, and after recovery, the search engine will revisit and crawl the content, which helps to protect your website's weight from being damaged due to temporary closure.
  • Pre-test:Before the formal shutdown, it is imperative to switch the background to shutdown status for testing, confirm that the prompt information and page display are in line with expectations, and avoid new issues.

The shutdown feature of AnQi CMS is a reflection of the professionalism of website operation.It allows you to manage user expectations calmly when facing necessary operations such as website maintenance and upgrades, maintain brand image, and truly prioritize user experience.


Frequently Asked Questions (FAQ)

Q1: How will search engines handle my website in the closed-site state? Will my SEO ranking be affected?A1: The Anqi CMS will automatically return the HTTP status code '503 Service Unavailable' to the visiting search engines when the website enters a shutdown state.This status code tells the search engine that the website is temporarily unavailable, not permanently closed.This means that the search engine will understand the current situation and will try to crawl your website later, so your SEO ranking is usually not affected by long-term or serious negative impacts.If the website resumes normal operation within a reasonable time and removes the closed site status, the search engine will update its index quickly.

Q2: Can I add images, videos, or external links to the closed station page?A2: Of course you can. Because you can edit directlyerrors/close.htmlThis template file, so you can design it like a normal web page, and embed HTML code to display images (such as your brand logo), video links, and even external links to social media icons or customer service contact information.Make sure that these external resources (such as images, video files) are accessible, even if your website's main body is closed.For external links, if you want to avoid affecting the weight of your website, you can consider addingrel="nofollow"Property.

Q3: How will the shutdown notice be displayed if my website has multiple language versions?A3:errors/close.htmlThe file is a general file for handling shutdown pages in your website template.By default, it will display the content you entered in the "Offline Notice" text box under "Global Feature Settings" in the background.If you want to display different shutdown prompts for visitors in different languages, you need toerrors/close.htmlTemplate

Related articles

How to adjust the default language package of AnQiCMS website to adapt to different user interface display text?

In daily operations, you may wish to have the AnQiCMS website's backend management interface, system messages, or some built-in display text presented in different languages to better adapt to the working habits of team members or specific operational needs.AnQi CMS fully considers the needs of global operation and provides a convenient and quick way to adjust the default language package of the website.This feature not only makes your background operation smoother, but also lays a foundation for multilingual promotion. Adjust the AnQiCMS website's default language package, it is very intuitive.

2025-11-09

How to set the copyright information and filing number of the website in AnQiCMS and display them uniformly in the footer?

In website operation, the copyright information and filing number at the bottom (footer) of the website are not only a reflection of the professionalism of the website, but also an important part of legal compliance.For websites built with AnQiCMS, setting and displaying these information uniformly is a simple and direct process.This guide will help you easily complete these configurations in AnQiCMS, making your website look more professional and credible.### Step 1: Set copyright information and record number in AnQiCMS backend AnQiCMS provides a centralized management interface

2025-11-09

How to configure the mobile end website address of Anqi CMS to ensure that the content is displayed adaptively on mobile phones?

In today's mobile internet era, the display effect of websites on mobile phones is directly related to user experience and content dissemination efficiency.For users of AnQiCMS, ensuring that content is presented elegantly on various mobile devices is an indispensable aspect of content operation.AnQi CMS provides flexible configuration options and template mechanisms to help you easily achieve this goal.### Overview of AnQi CMS Mobile Adaptation Strategy From the beginning of its design, AnQi CMS has considered the need for multi-terminal access and therefore provides three main website modes to adapt to mobile display

2025-11-09

How to customize the AnQiCMS website logo so that it displays correctly on the front page?

AnQi CMS provides a set of intuitive and powerful website management functions, among which customizing the website logo is a crucial link in the construction of the brand image.A clear and professional logo can not only enhance the recognition of the website but also leave visitors with a deep first impression.In AnQiCMS, replacing and managing the website logo is a simple and clear process, and ensures that it is displayed correctly on your website's front-end page.### Core Function and Location: Website Logo Settings Entry Customize the website logo in AnQiCMS

2025-11-09

How to use AnQiCMS's 'Flexible Content Model' to customize the display structure and fields of articles, products, and other content?

## The secret of AnQiCMS content model: Creating a unique content display structure In the world of content management, website content is not uniform.The structure and fields of a blog article, as well as the description of an e-commerce product page, or the presentation of corporate event information, are often quite different.Traditional CMS systems may only provide fixed article or page templates, and once business needs change, the website seems to be struggling, and it is difficult to respond flexibly.However, AnQiCMS solves this pain point with its 'flexible content model' feature, allowing you to meet your actual business needs

2025-11-09

How to extract the article title and display an ellipsis in Anqi CMS template?

In AnQi CMS template development, it is often encountered that article titles need to be displayed on the list page, but in order to ensure the beauty of the layout and unified layout, long titles need to be truncated and abbreviated with an ellipsis.This has improved the user experience and also made the page look cleaner and more professional.AnQi CMS with its flexible Django template engine syntax makes it very direct and efficient to implement this requirement.

2025-11-09

How to safely extract the content of an article containing HTML tags without destroying its structure?

In website content management and display, we often need to display the partial content of articles in article lists, homepage summaries, or related recommendation areas to attract readers to click.However, directly truncating the content of an article containing HTML tags can easily disrupt the original HTML structure, causing the page to display incorrectly and even affecting the overall layout and user experience.AnQiCMS (AnQiCMS) fully understands this pain point, its powerful template engine and built-in filters provide an elegant and secure solution, allowing you to worry-free about display issues caused by content truncation. Next

2025-11-09

Extract the article summary by word count instead of character count, which filter should be used in the template?

In website content operation, the way articles are presented often directly affects readers' click intentions and reading experience.A clear and concise summary that helps readers quickly understand the main theme of the article.Especially in scenarios such as list pages and recommendation areas, we usually hope that the abstract can be intelligently extracted, controlling the length while maintaining readability.When it comes to generating abstracts based on the content of an article, the length of the excerpt is a core consideration.There are two common ways to truncate: by character count and by word count.Cutting by character count is accurate, but it often encounters the situation where words are abruptly cut off

2025-11-09