Archive and restore an item
You can archive items that you do not want to display on your website in the Content Editor. When you archive an item, it is not deleted but stored outside the content tree. Archived items can be restored at any time.
Archive an item immediately
To archive an item:
-
In the Content Editor, in the content tree, navigate to the item that you want to archive.
-
If you want to archive a version of an item, click the Versions button and select the relevant version.
-
If you want to archive an item in a specific language, click the Language button and select the relevant language.
-
-
To archive the item immediately, on the Review tab, in the Schedule group, click Archive:
-
To archive the item in all versions and languages, including all its subitems, click Archive item now.
-
To archive the current version and language of the item, click Archive version now.
-
-
Save your changes.
NoteWhen you archive an item, it is removed from the content tree, but it remains on the published website. Therefore, you must republish your website to ensure that your changes are replicated on your website.
Handle breaking links
If there are links to the item you archive, the Breaking Links dialog box opens.
You can select an option to apply to all links. If you want, you can handle links individually and then apply one option to any remaining links.
-
To open the list of breaking links, in the Breaking Links dialog box, click Edit Links.
-
For each link, you can:
-
Edit the item containing the link
-
Remove the link
-
Link to another item
NoteIf you do not handle a link individually, it remains in the list to be handled collectively.
-
-
If you selected Link to another item, in the content tree, click the item that you want to link to instead. To update the link, click OK.
-
In the Edit Links dialog box, click Close.
-
In the Breaking Links dialog, select one of the following options to apply to any remaining links:
-
Remove links – remove all the links that exist to this page.
-
Link to another item – change all the links to this page to link to another item.
-
Leave links – leave broken links to this page. The links will be restored if you restore the item at a later time.
-
-
Click Continue.
Archive an item at a later date
To archive an item:
-
In the Content Editor, in the content tree, navigate to the item that you want to archive.
-
If you want to archive a version of an item, click the Versions button and select the relevant version.
-
If you want to archive an item in a specific language, click the Language button and select the relevant language.
-
-
To schedule the archive of the item on a different date, on the Review tab, in the Schedule group, click Archive and then click Set archive date.
-
In the Archive Date and Time dialog box, specify the date and time you want to archive the item.
-
In the Archive item section, specify the date and time that you want to archive the item including all its versions and subitems.
-
In the Archive version section, specify when you want to archive a specific version of the current item.
When you set a date and time, it is important to remember that:
-
If you only specify a date, the item is archived at 12:00 midnight on that date.
-
If you only specify a time, the item is archived at that time on the current date.
-
If you specify a date or a time that is in the past, the item is archived the next time that Sitecore checks for items to archive.
-
-
Click OK and save your changes.
NoteWhen you archive an item, it is removed from the content tree, but it remains on the published website. Therefore, you must republish your website to ensure that these changes are replicated on your website.
Restore an archived item
To restore a content item from the archive:
-
In the Sitecore Desktop, click the Sitecore Start button , All Applications, and then click Archive.
-
In the Archive dialog box, select the item that you want to restore.
-
To restore all versions and languages of an item, including the subitems, select the item from the list. You can only restore one item at a time.
-
To restore a version of an item, in the Options group, select Show Versions, click the item that contains the version that you want to restore and in the lower pane that appears, select one or more versions to restore.
NoteYou can select and restore as many versions of the same item as you want.
-
-
In the Items group, click Restore and the items are restored in the content tree.