Imagine a user eagerly visiting your website, only to see a cold technical error page, or simply be unable to access it, this experience is undoubtedly frustrating, and may even lead them to leave.The shutdown prompt function of Anqi CMS is like a thoughtful and considerate website butler, informing users in advance that the website is undergoing "renovation upgrade" and providing subsequent guidance, transforming this negative experience into an opportunity to show professionalism and responsibility.
Enable the shutdown prompt feature: simple backend settings
To enable the closed site prompt in Anqi CMS, the operation is very intuitive.You just need to log in to the backend, find "Backend Settings" in the left navigation bar, and click to enter the "Global Function Settings" page.On this page, you will see an option named "Website Status".
In most cases, the website status is set to 'normal operation'.When you need to perform maintenance, just switch it to "standby mode".After switching, you will notice a text box for 'station closure tips' below.This is the place where you write information for users.You can directly enter a short piece of text here, for example, 'The website is under upgrade and maintenance, it is expected to be restored after XX hours, we apologize for the inconvenience!'}].The system will display this text as the default shutdown prompt to all users visiting your website.
After completing the setup and saving, when users visit your website again, they will no longer see a blank page or error code, but instead, the friendly tips you have meticulously prepared.
Create a personalized prompt page:errors/close.htmlpower
It is just a text prompt, which may not be enough to fully satisfy our pursuit of user experience. The powerful aspect of AnQi CMS lies in the fact that it not only provides the basic closed station prompt text box, but also allows us to customize a dedicated closed station prompt page——errors/close.html.
This file is located in the template directory you are currently using, for example/template/default/errors/close.html.It is a standard HTML template file, which means you can freely use HTML structure, CSS style, and even JavaScript scripts to create a content-rich, visually appealing standalone prompt page.
In this custom page, you can fully utilize the Anqi CMS template tags to dynamically pull in the 'site closure prompt' text set in the background, for example, using{% system with name="SiteCloseTips" %}Label. In addition to this core prompt, you can further enrich the content:
- Clear maintenance reasons and schedule:Elaborate on the purpose of the maintenance (for example,
- Contact Information:If the user has an urgent need, what channels can they use to contact you? You can utilize
{% contact with name="Cellphone" %}or{% contact with name="Email" %}Tags, dynamically display the phone, email, and other information you configure in the background "Contact Settings". - Social media links:Guide users to follow your social media platform so that they can also get the latest updates during the website maintenance period and maintain interaction with the brand.
- Aesthetic visual design:Match your brand's color scheme and style, add appropriate background images, icons, or animations to make waiting less boring.
- Little interaction: Consider adding a simple countdown timer, or a casual game to alleviate the user's waiting mood.
By such customization, your landing page will no longer be just a simple notification, but a temporary reception area that reflects the warmth and professionalism of your brand.
Content is King: Write a friendly exit prompt
Even with strong technical support, friendly wording is still crucial. A good exit prompt should:
- Be straightforward:Honestly explain the current status of the website and why this situation has occurred.
- Set expectations:Clearly inform the user when the website will be restored to normal, so that they have a clear idea.
- Provide an alternative:If possible, provide other ways to obtain information or services, such as your customer service phone number, social media page, or other temporary access pages.
- Express regret and gratitude:Express sincere apologies for the inconvenience caused to the user and thank them for their understanding and patience.
- Maintain brand consistency:Even if it is a closed station page, it should maintain consistency with the overall style and tone of your website.
Through the "site closure prompt" function of Anqi CMS, website maintenance is no longer an embarrassing moment for operations, but an excellent opportunity for you to show user care and enhance your brand image.It turns every necessary shutdown into an opportunity for an honest communication with the user.
Frequently Asked Questions (FAQ)
1. Will the SEO of the website be affected after enabling the closed station prompt?The shutdown prompt function is mainly designed to optimize user experience.In technical terms, when a website is in a shutdown state, the content accessed by search engine spiders is a prompt page, rather than the normal website content.If the shutdown time is short (a few hours to a day), it usually has little impact.If the site is in a closed state for a long time, it may affect the crawling and ranking of search engines.To minimize the SEO impact, it is advisable to configure the server to return a 503 Service Unavailable status code during the shutdown period (although the shutdown prompt of Anqi CMS is currently displayed on the front page, it usually returns a 200 status code, but improving user experience can also indirectly reduce user churn to some extent, thereby maintaining the long-term SEO health of the website).
2. Can I customize theerrors/close.htmlAdd a contact form to the page so that users can leave a message or subscribe to updates?Of course you can. Sinceerrors/close.htmlIt is a completely customizable template file, you can add HTML form elements like on other pages. If you want to implement a message feature, you need to manually integrate the Anqi CMS message form tag{% guestbook fields %}or a similar user input mechanism, and ensure that the backend can correctly receive and process this data.For subscription updates, you can integrate a third-party email subscription service form code or implement a simple subscription function.
3. Can the administrator still access the back end for operations when the site is closed?Yes, even if the website is in a shutdown state, administrators can still access the specific backend management address by visiting (for example您的域名/system/Log in and operate the backend. The shutdown notice is only displayed to front-end users, and it will not affect administrators from entering the backend to perform maintenance or management tasks.