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 designerrors/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)
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 that
errors/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.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 edit
errors/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.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.