Skip to main content
web60

Web60 Features

Accidentally Deleted a WordPress Page? Restore It Without Rolling Back Your Whole Site

Ian O'Reilly··14 min read
Flat illustration of a teal document page caught in a navy net above soft teal hills on a warm off-white background

You have probably heard that one wrong click in WordPress can wipe out a page for good, and that the only way back is a developer or a full backup restore. Both halves of that are mostly wrong. WordPress has three separate safety nets for content you delete or overwrite yourself, and a full site restore is the last of them, not the first.

The order matters. Reach for the biggest tool first and you can fix one mistake by creating three new ones.

This guide takes the myth apart piece by piece. It covers what WordPress keeps when you delete something, what it keeps when you overwrite something, where the myth is genuinely true, and the recovery sequence that gets a page back with the least collateral damage.

Myth One: Deleted Means Gone

It does not. When you delete a page or post in WordPress, it is not erased. It moves to the Trash, and it sits there for 30 days by default before WordPress permanently removes it, according to the WordPress developer documentation for the EMPTY_TRASH_DAYS setting [2].

Consider a scenario we see versions of regularly. An Offaly dog-grooming salon owner spends a quiet Sunday evening clearing out last year's Christmas offer pages. Three of them go to the Trash. So does the main price list, because it sat right underneath them in the list and the checkbox was ticked by accident. By Monday lunchtime, customers who search for grooming prices and click the result are landing on a "page not found" error. A few ring to ask. Most do not bother. They book somewhere whose prices they can actually see.

The fix takes under a minute. Go to Pages, click the Trash link at the top of the list, hover over the page and click Restore.

The gotcha nobody mentions

A restored page does not come back live. Since WordPress 5.6, anything you pull out of the Trash returns as a draft by default, as the WordPress developer reference for wp_untrash_post() confirms [3]. The reasoning is sensible: it stops an old scheduled post from suddenly publishing itself. The practical effect is that plenty of owners restore the page, see it back in the list, and assume the job is done while the public still gets an error.

So after you restore, open the page and click Publish. Then verify it in a private browser window, using the same web address customers and Google have been using. Do not trust the dashboard view on its own.

When the Trash will not save you

The 30-day window is real, but it has edges. If someone clicks Empty Trash, or chooses Delete Permanently on an individual item, the page is gone from WordPress itself. Same story if the mistake happened more than about a month ago. At that point, you are into backup territory, which is covered further down.

Flat illustration of a teal document lifting gently out of a shallow tray on a warm grey background
Most deleted pages sit in the WordPress Trash for 30 days before anything is permanently removed.

Myth Two: An Overwritten Page Cannot Be Brought Back

Deleting a page outright is actually the less common mistake. Far more often, the page still exists, but its content has been wrecked. Someone pasted the wrong text over the opening hours. A staff member "tidied up" the services page and removed two services you still offer. A copy-and-paste from a Word document brought in formatting that broke the layout.

This is what revisions are for. According to the WordPress.org documentation, the revisions system "stores a record of each saved draft or published update" [1]. Out of the box, WordPress keeps every revision unless your site has been configured to limit them [1][2]. Each time you click Update, the previous version is kept.

To roll a page back:

  1. Open the page in the editor.
  2. Open the Settings sidebar and select the Page tab.
  3. Click the number next to Revisions.
  4. Drag the slider back to the version you want and click Restore.

Sites running WordPress 7.0 or later get a redesigned revisions screen, with coloured markers showing which blocks were added, removed or changed [1]. That makes it far easier to spot exactly where a well-meaning edit went wrong, rather than squinting at two walls of text side by side.

Autosave covers the crash, not the mistake

WordPress also autosaves while you edit, every 60 seconds by default [2]. The documentation is clear that autosaves "do not overwrite published content" and that there is only ever one autosave per user for each post [1]. In practice, that means if your laptop dies halfway through rewriting a page, WordPress offers to restore your unsaved work when you return. It does not mean every 60-second state is kept forever. Autosave rescues work in progress. Revisions rescue published versions.

What revisions do not track

This is the limit worth knowing before you rely on it. By default, revisions track a page's title, author, content and excerpt [1]. They do not roll back everything around that content. Plugin settings, theme options, menus, your homepage setting and the featured image are generally outside the revision history. Restore a revision and the words come back, but a broken contact form setting or a changed site-wide footer stays exactly as it is.

Myth Three: The Backup Is the Fix for Everything

This is the version of the myth that causes the most damage, because it sounds like the responsible answer. Something went wrong, so restore last night's backup. Simple.

Except a full site restore does not just bring back the page you lost. It brings back the whole site as it was at the moment that backup ran. Everything that happened since goes with it.

Think about what that means on a working day. You notice at 2pm that the services page was overwritten at 10am. Restoring the overnight backup does recover the page. It also quietly removes:

  • every contact form enquiry that arrived this morning, if your forms store submissions on the site
  • any orders placed since the backup, on a site that sells online
  • every other edit made since, including the price change your colleague published at 11
  • any new customer accounts or bookings created in the meantime

That is the trade-off nobody mentions when they say "just restore the backup". A backup is a point in time. Rolling the production environment back to that point is a rollback of everything, not a precision tool. We see this pattern in support requests more than you would expect: an owner restores the whole site to recover one paragraph, then spends the afternoon trying to work out where the morning's enquiries went.

The rule is simple. If the Trash or the revisions screen can fix it, use them. Save the full restore for when they cannot. For a deeper look at why restore planning matters as much as the backup itself, see why a backup is not the same thing as a restore.

Abstract flat illustration of layered teal and navy rings with one small segment highlighted on an off-white background
Use the smallest recovery tool that fixes the problem. A full restore rolls back everything since the backup ran.

Where the Myth Is Actually True

Fairness matters here. There are corners of WordPress where one click genuinely is final, and knowing them in advance is most of the protection.

Images and files in the Media Library. This is the big one. By default, the Media Library offers Delete Permanently, not Move to Trash [4]. There is no 30-day grace period. Delete a product photo or your logo from the library and every page that used it now shows a broken image. Revisions will not help either, because the page content still points at a file that no longer exists.

Settings screens. Plugin configuration, theme customisation, widget areas and most site-wide options are saved over the previous value with no history at all. Change the wrong field in your booking plugin and there is no revisions slider to drag back.

The emptied Trash. Once the Trash is emptied, or the 30 days run out, the page has left WordPress for good.

Deleted plugins. Removing a plugin can delete the data it stored, depending on how that plugin was built. Some clean up after themselves thoroughly, and that is usually what you want, until it is not.

In every one of these cases, your hosting backups are the only safety net left. Which is why the quality of those backups matters far more than most owners realise before the day they need one.

How to Recover a Deleted or Broken Page in Five Steps

When something has gone wrong, work through these in order. Each step is less disruptive than the one after it.

  1. Freeze edits. Stop making changes and ask anyone else with access to do the same, so you do not overwrite the evidence or create more work to undo.
  2. Verify the Trash. Look in Pages, then Trash (or Posts, then Trash). If the page is there, restore it, then publish it, because restored pages come back as drafts.
  3. Rollback with revisions. If the page exists but the content is wrong, open its revisions and restore the last good version.
  4. Snapshot before a restore. If you do need a full restore, take a manual backup of the site as it stands first, and note down anything that has changed since the last nightly backup, such as orders or enquiries.
  5. Restore and verify. Run the full restore only as a last resort, then check the recovered page and re-enter anything the rollback removed.

What a Proper Hosting Safety Net Looks Like

The Trash and revisions are built into WordPress itself. Everything after that depends on your hosting provider, and the standards vary enormously. A host worth trusting with your business website should offer at least the following:

  • Automatic daily backups that run without anyone remembering to press a button
  • A restore you can trigger yourself, without raising a ticket and waiting a day
  • On-demand backups, so you can take a snapshot before a risky tidy-up
  • A safety copy taken automatically before any restore, so a restore can itself be undone if it goes wrong
  • A staging environment, so large changes can be rehearsed away from customers entirely
  • Real people to ring when you are not sure which step to take

Web60 is built to meet that standard. Every site gets automatic nightly backups with one-click restore, plus manual on-demand backups whenever you want a snapshot before a big change. Pre-update and pre-restore safety snapshots are taken automatically, which means if you restore last night's backup and realise it removed something you needed, the state of the site just before the restore still exists. That is the step most owners never think about until they need it. One-click staging lets you rehearse a major tidy-up in a copy of the site before you deploy it to production. All of that runs on enterprise-grade Irish infrastructure with nightly backups built in, with an Irish-based support team answering the phone when you are not sure which recovery step is the right one.

In practice, that means the worst case after a bad edit is losing a single day's changes, not losing the page, and certainly not paying someone by the hour to rebuild it from memory.

Where nightly backups are not enough

Nightly backups have a hard limit, and honesty about it matters. If your site changes constantly through the day, such as a busy online shop taking orders every few minutes or a newsroom publishing dozens of updates, the gap between one nightly backup and the next can contain a lot of business. Enterprise managed hosts that offer hourly or near-real-time backups genuinely suit that kind of workload better. For the café, the consultancy, the trades business or the local retailer updating their site a few times a week, nightly backups combined with the Trash and revisions cover the realistic risks comfortably.

For the wider picture of how backups fit alongside the rest of your site's protection, our complete guide to WordPress security and backups goes through each layer in turn.

Conclusion

WordPress is far more forgiving than its reputation suggests. It powers roughly four in every ten websites worldwide, according to W3Techs [5], and the Trash, revisions and autosave are a large part of why ordinary business owners can safely run their own sites without a developer on call. Most mistakes can be undone in under a minute by the person who made them.

The real skill is not avoiding every mistake. It is knowing which tool fits which mistake: the Trash for a deleted page, revisions for overwritten content, and a full restore only when nothing smaller will do. Take five minutes this week to find the Trash link and the revisions panel on your own site, so that the first time you need them is not the first time you see them.

If you would rather have nightly backups, one-click restore and staging already set up from day one, you can build your WordPress site with Web60 in about a minute and see the safety net for yourself.

Frequently Asked Questions

How long does WordPress keep deleted pages in the Trash?

By default, WordPress keeps trashed pages, posts and comments for 30 days before permanently deleting them. Some hosts or site configurations change this figure, so verify your Trash promptly rather than relying on the full month. Once the Trash is emptied manually, the items are gone from WordPress and only a hosting backup can bring them back.

Why is my restored WordPress page not showing on my website?

Since WordPress 5.6, pages and posts restored from the Trash come back as drafts rather than returning to their previous published status. Open the restored page in the editor and click Publish, then verify it in a private browser window using the original web address.

Can I undo changes to a WordPress page after I clicked Update?

Yes. Open the page in the editor, go to the Page tab in the Settings sidebar and click the number next to Revisions. Use the slider to find the version from before the change and click Restore. Revisions cover the title, content and excerpt, but not plugin settings, menus or other site-wide options.

Can I recover an image I deleted from the WordPress Media Library?

Not from inside WordPress, in most cases. The Media Library uses Delete Permanently by default, with no Trash stage, so the file is removed straight away. The usual route back is restoring from a hosting backup taken before the deletion, or re-uploading the original file from your own computer if you still have it.

Will restoring a backup delete new orders or contact form enquiries?

It can. A full restore returns the entire site to the moment the backup was taken, so anything stored on the site after that point, including orders, form submissions, new accounts and other edits, is rolled back. Take a manual backup first and note anything that changed since the last nightly backup before you restore.

Do I need a developer to recover a deleted WordPress page?

Usually not. Most deleted pages can be restored from the Trash in under a minute, and most overwritten content can be rolled back through revisions by whoever has editor access. A developer or your host's support team only becomes necessary when the item is beyond the Trash and revisions and a backup restore needs careful handling.

Sources

IO
Ian O'ReillyOperations Director, Web60

Ian oversees Web60's hosting infrastructure and operations. Responsible for the uptime, security, and performance of every site on the platform, he writes about the operational reality of keeping Irish business websites fast, secure, and online around the clock.

More by Ian O'Reilly →

Ready to get your business online?

Describe your business. AI builds your website in 60 seconds.

Build My Website Free →
Buy NowTry Free
Accidentally Deleted a WordPress Page? How to Restore It | Web60