Privacy

Recover a WordPress article with revisions, autosaves and backups

WordPress revisions are one of several recovery routes: choose the right one for lost text, preserve newer work and understand the limits of Undo, revisions, autosaves, Trash and database backups.

Made by Pagember · Editorial policy

Primary sources + editorial analysisPublished Updated Sources

The short answer

Preserve anything still visible before clicking more buttons, then use the narrowest recovery that fits. Use Undo for a recent editor action, revisions for saved changes, an autosave for interrupted work, Trash for a deleted article, or a backup when the version is no longer in WordPress. Inspect each candidate before restoring and avoid rolling back the whole site for one article.

On this page11 sections

If a WordPress article loses text, preserve anything still visible before clicking more buttons. Then match the recovery method to the problem: Undo for a recent editor action, revisions for saved changes, an available autosave for interrupted work, Trash for a deleted article, or a backup when the needed version is no longer in WordPress.

WordPress official logo above a conceptual layers diagram: Revisions, Autosave, Backup.

This guide covers self-hosted WordPress and its native block editor, using official documentation checked on October 13, 2026. It explains the revision interface introduced in WordPress 7.0 and the classic comparison screen still found on older installations.

Preserve the current state first

Stop editing the affected article and ask anyone else working on it to pause. Note the article's address or post ID, the time you noticed the problem and the last time the correct text was visible. If the editor still contains useful unsaved material, copy it into a separate local document before navigating away.

The block editor provides Undo and Redo, and its options include copying the content. An immediately deleted block may be recoverable through Undo while the editing session is still open. See the block editor documentation. Do not repeatedly save an empty version while testing whether the missing text will reappear.

Keep both versions when the situation is uncertain. A restored older article could recover a missing section while removing today's corrected links. A copy of the current text lets you combine the useful parts deliberately instead of choosing between two incomplete versions.

If multiple tabs contain the same article, identify which holds the most useful content before closing anything. Avoid editing and saving from several tabs during recovery. A tab left open earlier is not a reliable copy of the current server state.

Choose the smallest recovery that solves the loss

What happened?Start hereWhat to check
You just removed or changed a blockEditor UndoWhether the needed action remains in this session's history
You saved an unwanted changeArticle revisionsA version containing the missing material, without assuming the oldest is best
The browser or connection failed before a manual saveAvailable recovery notice or autosaveIts time and contents compared with the saved article
The whole article was deletedPosts → TrashWhether the item remains there and its status after restoration
The required version is absent from these placesA suitable backup or separate editorial copyThe snapshot time, included data and a way to recover one article safely

For example, a hypothetical newsletter editor accidentally replaces the middle of an article with a short note and saves. A revision is the first place to look. Restoring the entire website to yesterday would be a much broader action, potentially discarding unrelated work, when the loss concerns one article.

Find and compare saved revisions

Open the affected post, show the Settings sidebar and choose the Post tab. Select the number beside Revisions. In WordPress 7.0 and later, the revised screen offers a revision list and a slider; selecting an entry lets you inspect its content and highlighted changes. WordPress's revision guide documents that interface.

In WordPress 6.9 and earlier, the classic screen compares the HTML versions side by side. The newer interface also offers access to classic revisions. That comparison can be useful when you need to inspect a link or block markup rather than relying only on the rendered appearance.

Start near the time of the mistake and compare neighboring entries. Look for a distinctive phrase, the lost heading and the final paragraph, rather than judging by title alone. Confirm that the candidate contains the complete section and identify any later improvements that would need preserving.

Write a brief recovery note: the chosen timestamp, what it recovers and which newer changes must be retained. This is especially useful when another author made edits between the good version and the mistake.

Decide whether to restore or recover only a section

Browsing a revision and restoring it are different operations. WordPress's documented revision restore function writes restored fields back to the parent article. Treat Restore as a content-changing action, particularly for an already published post; do not assume every interface creates an unpublished draft for later approval.

If most of the present article is wrong and the candidate is correct, a full revision restore may be appropriate after preserving the current version. If only one section is missing, copying that section from the comparison into the current article can preserve more recent work. When recovering block markup, keep the complete relevant block structure rather than copying a stray closing tag.

Check the interface's confirmation and resulting article status. When the content is returned to the editor, review it before any additional Save, Update or Publish action the screen requires. If a restore has already changed the published post, inspect that public result immediately.

In the newsletter example, yesterday's revision may contain the lost explanation but an outdated event link. The useful outcome is the explanation plus today's correct link, not an indiscriminate return to yesterday.

Understand what a revision does not cover

Core's default revision fields are title, content and excerpt. The documented revision-field definition excludes fields such as the slug and post status. Extensions can add revision support for other data, but you must check what your site actually records.

Do not assume restoring article text also restores its SEO metadata, categories, featured image, plugin settings or a media file deleted from the server. Inspect those separately. An image block may return while the referenced image is still missing; a revision contains the article representation, not a full independent copy of every upload.

Similarly, if the article's words remain intact in the editor but its public layout has changed, investigate its template, shared patterns and theme. Restoring post text is not automatically a remedy for a different object being edited.

Use an autosave when it contains newer work

An autosave is a recovery candidate, not an unlimited second history. WordPress stores at most one server autosave per user for a given post; a later one can replace an earlier one. The official autosave implementation documents this replacement behavior.

If WordPress offers a more recent autosave when you reopen the article, compare it before restoring it. More recent does not necessarily mean more correct: an autosave after the accidental deletion may contain the mistake. Look for the lost text and compare the timestamp with your incident note.

Autosaves for published content do not by themselves publish that content. But successful recovery still depends on what reached the server or was retained by the editor. A disconnected browser cannot guarantee every keystroke was saved remotely. Preserve any visible local text rather than assuming the next reload will recover it.

Do not use an advertised autosave interval as a promise of maximum data loss. The WordPress configuration handbook describes configurable saving behavior. Connection failures, custom configuration and extensions can affect the recovery you actually have.

If the article itself is in Trash

Open Posts → All Posts, inspect the Trash view and search for the article. Restore the correct item rather than creating a new post immediately. Then open it and check its content, address and publication status.

Current core normally restores an ordinary trashed post as a draft, although a filter can change that behavior. The official Trash restoration reference documents the distinction. Finding the article back in the administration list therefore does not establish that it is public again.

Trash is temporary storage, not a backup guarantee. It can be emptied, retention can be configured, and WordPress's trash function permanently deletes instead when Trash is disabled. If the item is gone permanently, the normal Trash restore route cannot recreate it.

Why you may see no usable revisions

A first draft may not have a useful earlier version. Your installation can also limit or disable revision retention. The revision retention reference describes WP_POST_REVISIONS and filters that can override it; revision availability also depends on support for that content type. If wp-config.php contains define( 'WP_POST_REVISIONS', false ); no revisions are kept, and a number such as 5 keeps only that many per post. To keep more history for future articles, set a number you are comfortable storing, such as define( 'WP_POST_REVISIONS', 20 );.

Ask the site's administrator what retention policy and cleanup tools are active. Enabling revisions now does not reconstruct versions already discarded. Do not install a cleaner or run database optimization while trying to preserve the evidence of a content loss.

A missing sidebar control is not proof that the database contains no revisions. Confirm the correct post and your editing permissions, reveal the sidebar if hidden and check the site's supported interface. If specialist investigation is necessary, provide the post ID and timestamps without sharing credentials or a complete database publicly.

Recover from a backup without rolling back unrelated work

WordPress stores posts in the database, while uploads and application files are separate parts of a complete backup. A download of the WordPress files alone is not normally a copy of the article database. See the official backup handbook.

Find a snapshot from before the loss and confirm it includes the relevant database. Preserve a current backup before restoration work. Where practical, restore the older snapshot into a separate, access-restricted test installation, retrieve the needed article or section there and reintroduce only the reviewed material on the live site.

Keep that test copy out of public indexing and prevent it from sending live emails or running other production integrations. Use the backup provider's supported recovery method or ask for help; importing an old database over the live one is not a safe default for recovering a paragraph. Some backup services make this easier: BlogVault's selective restore lets you restore chosen files or database tables, or open the backup on a staging copy, instead of rolling back the whole site.

On an active shop or membership site, a broad database rollback could affect newer orders, registrations, comments and other records. A selective recovery still needs a review of what it writes. The label “single item” is not enough if the operation also replaces shared tables or settings.

Verify the recovered article and prevent a repeat

  • Compare the recovered heading, opening, missing section and ending with the intended copy.
  • Check links, images, tables and block validity in the editor and preview.
  • Review the excerpt, slug, categories, featured image and relevant custom fields separately.
  • Confirm the intended publication status and open the public URL logged out when it should be live.
  • If the public version is stale, use the site's supported cache controls and check again.

Record the method, recovered version and any remaining loss. Keep meaningful editorial milestones as separate copies when the work matters, and review whether the existing revision and backup retention matches your publishing activity. Our restorable WordPress backup guide covers the broader recovery plan; our update-testing guide explains how to reduce risk before system changes.

A successful recovery brings back the intended article while preserving valid newer work elsewhere. If no revision, autosave, Trash item or suitable external copy contains the text, say so plainly: changing a setting cannot promise to recover material that was never retained.