Restoring Deleted Pages in WordPress: A Comprehensive Guide
Have you ever accidentally deleted a crucial page or post from your WordPress website, and fretted over how to recover it? Don’t worry – restoring deleted pages in WordPress is simpler than you think! In this post, we will guide you through different methods of restoring lost pages, depending on whether you have a backup of your website, and whether you use the default editor or a page builder plugin.
Step 1: Check if the deleted page is in the Trash
When you first discover that a page or post has been deleted, check the Trash folder in WordPress. Normally, deleted content remains in the Trash for 30 days, during which period you can easily restore it. To do this, access your WordPress Dashboard, go to the Pages section, and look for the Trash link. If the deleted page is there, hover over its title and click on the Restore link.
Step 2: Restore the deleted page from a backup
If you have a backup of your WordPress website, restoring lost pages is straightforward. To be safe, take frequent backups of your website using either a plugin or a backup service. Two methods enable you to restore deleted pages from your backup:
Method 1: Restore the entire backup
If you have a full backup of your website, you can restore the entire website to a point in time when the deleted page was available. To access your backup files and restore them, follow the instructions provided by your backup solution. You’ll usually need to download your backup files from your provider or export them from your hosting account, and then restore them manually.
Method 2: Retrieve the deleted page from the backup
If you don’t want to restore the complete backup, it’s possible to retrieve the individual deleted page or post from within the backup files. The steps for finding and extracting the deleted page from the backup vary depending on how you created the backup. If you’re using a plugin like UpdraftPlus or Duplicator, you can utilize their tools to extract the deleted page, while manual backups require you to identify the files of the deleted page within the backup files, and download them to your system. Later, you can add the deleted page back to your website as a new page.
Step 3: Use a page revision to restore the deleted page
If you don’t have a backup of your website or if it isn’t recent enough, it is still possible to recover the lost content using page revisions. WordPress automatically saves revisions of your content thus allowing you to restore a previous version of your page or post. To access the revisions, open the deleted page in your WordPress editor, click on the Revisions link in the Publish box on the right side of your screen. You will find all the previous saved revisions here. Select the revision that includes the content of the deleted page and click Restore This Revision to restore the content of the page to the selected revision. You can then update the page to preserve the restored content.
Step 4: Use a third-party plugin to recover the deleted page
If none of the above methods work for you, you can take help from third-party plugins available in the WordPress repository. Here are our top picks:
WP-Optimize is an efficient plugin that helps optimize and clean up your WordPress database. It also includes a restore function for deleted pages and posts. You need to activate the plugin, go to the Deleted Posts and Pages section, and you should be able to restore the deleted content easily.
WP-Rollback allows you to revert (or restore) a plugin or theme to a previous version, and also includes an option to roll back changes made to pages and posts. Once you activate it, go to the Pages/Posts section, find the deleted page you want to recover and click the Rollback link.
3. Page Builder Restore
Page Builder Restore is a brilliant plugin to restore deleted pages and posts created with popular page builder plugins such as Elementor, Beaver Builder, and Visual Composer. Just install and activate it, go to the Pages/Posts section, choose the deleted item you want to restore and hit the ‘Restore with Page Builder Restore’ button.
Although restoring deleted pages can be stressful, it is entirely possible if you know the right steps. Remember to maintain regular backups of your website and keep your WordPress installation and plugins up-to-date to avoid unexpected data loss.