Feature preview
Explain the working principle and recovery process of AnQiCMS recycle bin, show the safe mechanism of moving data into the recycle bin instead of physical deletion when deleting formal documents, and help administrators effectively prevent the risk of content loss caused by accidental operations.
How does the AnQiCMS trash can feature help recover deleted documents? The system uses a secure deletion mechanism: when deleting formal documents, it is not a physical deletion of data, but moves it into the trash can for temporary storage. Administrators can view the list of deleted documents in the trash can and choose to restore or **delete, effectively preventing content loss due to incorrect operations.
In AnQiCMS, the document status is divided into four types: formal document, draft, pending release, and recycling station. When the user clicks the delete button in the background, the system will not immediately remove the document from the database, but will mark its status as recycling and hide it from the publicly visible list.
The core advantage of this design lies in its fault tolerance. Manual operations are bound to make mistakes, such as accidentally clicking the delete button, selecting the wrong document to delete, or omitting important content in batch operations. If deletion is immediate and irreversible, these mistakes will lead to loss of**data. The recycle bin mechanism provides a buffer period, allowing administrators time to discover and correct errors.
Documents in the recycle bin still occupy database storage space but will not affect the performance of the front-end page. Because the SQL statement querying formal documents automatically excludes records in the recycle bin status, these data will only be loaded when the administrator actively enters the recycle bin page.
The restore operation is very simple: go to the recycle bin page in the background, where you can see a list of all deleted documents, sorted by deletion time in descending order. Each record shows the title, deletion time, operator, and other key information. After finding the document you need to restore, click the restore button, and the system will change its status back to an official document, making it visible again to the outside world.
If you need to restore in bulk, you can select multiple records and perform a batch operation. This is very useful in scenarios where documents are deleted in bulk due to category adjustments or content restructuring, allowing you to restore an entire batch of documents at once.
The document after recovery retains the original URL, SEO settings, and associated relationships (such as tags, categories, comments, etc.), and will not lose metadata due to deletion and recovery operations. This ensures the consistency of content and the stability of search engine rankings.
Although the Recycle Bin provides security, long-term accumulation will occupy a large amount of storage resources. AnQiCMS allows administrators to configure automatic cleanup strategies: set the retention days of documents in the Recycle Bin (default 30 days), and documents exceeding the deadline will be automatically **deleted.**
Administrators can also manually clear the recycling bin and delete all temporary documents at once. Before performing this operation, the system will pop up a confirmation dialog box to remind that the operation is irreversible and should be treated with caution.
For enterprises with compliance requirements, it is recommended to **export document backups before deletion. AnQiCMS supports backup and recovery functions, which can archive the data in the Recycle Bin for future audit or legal retrieval.**
Q: Does the recycling bin have a capacity limit?
A: By default, there is no limit, but it is constrained by the total capacity of the database. If the recycling bin accumulates a large number of documents, it is recommended to clean up regularly or increase the database storage space.
Q: Will the document notify subscribers after recovery?
A: No. The recovery operation only changes the document status and does not trigger push notifications or resending emails. If you need to inform users that the content has been restored, you can manually post an in-site announcement or inform through other channels.
Q: Can ordinary editors be prohibited from deleting formal documents?
A: This can be achieved through permission configuration. In the user management module, you can set deletion permissions for different roles, allowing only administrators or chief editors to perform deletion operations, while ordinary editors can only create and modify drafts.
Preview
Introduce the integration method of reCAPTCHA verification code in AnQiCMS, explain how it effectively prevents robot attacks on automatic form submission, and protects website data security.
Preview
Introduce the business expansion capabilities of AnQiCMS, including WeChat official account docking, order management, financial management, and distribution management. Explain how to set access permissions for different user groups through VIP grouping to build a member system.
Preview
Introduce the AI writing function provided by AnQiCMS since April 2023, as well as the capabilities of AI automatic tagging, AI painting, and AI TDK, explaining how AI tools assist in the entire content creation process.