Try Now

Page Recycle Bin

by Roger West Creative and Code
Publication date:
Nov 30, 2010, 16:56 PM


  • Sitefinity 3.7
  • Sitefinity 3.6

Price: $ 0

Although Sitefinity allows for page revisions, it does not currently support recovering from accidental page deletions.  To meet this need, a very basic event handler has been created to store deleted pages in a recycle bin. The Page Recycle Bin event handler works by duplicating pages before they are ultimately deleted for good by Sitefinity.

When a "DeletePage" request is issued to Sitefinity, the Page Recycle Bin event handler creates a "Recycle Bin" page group, if it does not already exist, and places a duplicate of the page to be deleted (and corresponding sub pages) into the "Recycle Bin."  To keep deleted pages safe, the "Recycle Bin" is set to deny anonymous access. In addition, all pages placed in the "Recycle Bin" are updated to disable caching, indexing, and navigation.

Sitefinity CMS validated extension