Remove an outdated page and restore it
This page is for editors who retire pages that are out of date. Remove moves an item to the trash, from where it can be restored until the trash is emptied (Content model and editing, 7). Removing is different from hiding: the address stops working.
Contents
Before you start
- Confirm the page is not needed for the record (ask your records officer for formal documents); if it is, hide it instead (Hide a page temporarily).
- Decide where its visitors should go instead (a newer page, the parent).
Steps to remove
- Open the page, press Remove (or tick several in a Sub items list, More actions > Remove selected).
- Read the confirmation: it lists other content that points to the page (embeds, links, relation fields). Fix those pages first, or accept that they will point to nothing.
- Confirm. The item and everything below it go to the trash.
- Give the old address somewhere to go: an alias on the replacement page or a URL wildcard (Redirect old addresses after a reorganization). A removed page's address otherwise answers "not found".
Steps to restore
- Open Trash (in the left column of the content structure, or
/content/trash). - Find the item: filter by Trashed by, Type or date. Each row shows who trashed it and where it was.
- Tick it and press Restore (or open its restore page) and confirm the place it goes back to.
- The item and what was below it come back.
Check the result
- To do: After removal: the old address redirects to the replacement (signed out).
- To do: After restoring: the page opens at its place; menus show it.
Pitfalls
| Pitfall | Avoid it |
|---|---|
| Empty trash | deletes everything in the trash for good, whatever the filter; leave it to administrators |
| User accounts | user objects never go to the trash; removing a user is final |
| Removing a folder | everything below goes with it; check first |
| Records | removing a formal record may break your records rules |
| Big removals | may run as a background job; follow it at /content/jobs |
Related pages
- Publishing tasks
- Publishing, versions and the trash
- Trash: who and where
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.