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:
- 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. - Edit content:You can edit it freely like editing other web page files
close.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. - Add other elements:In addition to the text prompts, you can also
errors/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