How to recover and restore deleted pages in WordPress (4 methods)

How to recover and restore deleted pages in WordPress

Are you trying to recover deleted pages on WordPress?

How to recover and restore deleted pages in WordPress (4 methods)If you accidentally deleted a WordPress page, you can recover it from the Recycle Bin.

In this beginner’s guide, we will show you how to easily recover deleted pages on WordPress and WooCommerce.

How does WordPress handle deleted pages?

Just like your computer, WordPress moves deleted items to a ‘Trash’ folder. This removes these items from your website and administrator screens, but they are not permanently deleted immediately.

After 30 days, WordPress automatically deletes the item permanently from the trash and the WordPress database.

If the page you deleted is still in the trash, you can proceed and restore it. We’ll show you how in a minute.

However, if it was also deleted from the trash, you will need to try other ways to restore the deleted page in WordPress.

How does WordPress handle deleted pages?
How does WordPress handle deleted pages?

Sometimes, you can accidentally delete a page and not notice for a while. For example, if you have multiple pages with the same name and you end up excluding one that you needed.

Another common scenario we’ve seen is users accidentally deleting pages needed for WooCommerce or its WordPress membership plug-in.

That said, let’s take a look at how to easily restore deleted pages on WordPress and WooCommerce. Here is a quick table of contents, so you can skip to the section that best suits your needs.

Method 1. Recover pages deleted from the recycle bin in WordPress

This method is the easiest and you should try it out before doing anything else.

Typically, when you delete an item on WordPress, it is sent to the trash folder and you can recover it for the next 30 days. After that, it will be automatically deleted forever.

all pages within your WordPress admin area
all pages within your WordPress admin area

If the page (s) you want to recover are listed there, just hover over the page title and you will see the option ‘Restore’.

You can more restore many pages at once by selecting them and then choosing ‘Restore’ from the Bulk Actions drop-down table at the head.

You can immediately go to Pages »all pages and locate the restored page there.

That was quick and easy, but what if the page you deleted isn’t listed in the Recycle Bin?

Method 2. Restore deleted pages in WordPress using a backup plug-in

Backups are one of WordPress’ best security and productivity tools. All WordPress sites must configure a suitable WordPress backup plugin.

These WordPress backup plug-ins not only help to recover a hacked WordPress site but can also help you recover deleted content, including pages.

Note: WordPress backup plug-ins allow you to restore your entire site to an earlier point. This means that any other changes made to your site after that time may be lost.

If you know when you deleted a page, you can access the last backup before that time to restore your site.

If you don’t have a WordPress backup plugin installed, then there is still a good chance that your WordPress hosting company will, and you can still restore it through cPanel.

For step-by-step instructions, you can watch our example on how to restore WordPress from a backup. It shows you how to restore WordPress from a backup using UpdraftPlus, BackupBuddy, phpMyAdmin, cPanel, and more.

Method 3. Recover deleted WooCommerce pages

By default, WooCommerce creates pages for checkout, cart, store, and account management. These are important pages for your WooCommerce storehouse to function properly.

Recover deleted WooCommerce pages
Recover deleted WooCommerce pages

If you accidentally delete a WooCommerce page, you can first try to restore it by looking at the Recycle Bin (see Method 1 above).

If you can’t find the page in the trash, just create a new one. For example, you can go to Pages »Add New and create a blank page entitled ‘Cart’.

In the same way, you can also create other WooCommerce pages for store, checkout, and account.

Next creating new pages, you can say WooCommerce to use these new pages. Simply move to the WooCommerce »Settings page and change to the ‘Advanced’ tab.

From here, you can select the pages created earlier in the Page Setup section.

For the store page, you’ll need to switch to the ‘Products’ tab and then select the page you want to use as your Store page.

Don’t forget to click on the ‘Save Changes’ key to store your settings.

Method 4. Restore selected pages from a WordPress backup (advanced)

This method is somewhat complicated, unreliable, and is not recommended for beginners. However, it would be useful if you don’t want to restore a complete website and lose any changes made after the backup.

You can simply restore your WordPress backup to a local server installation and then copy and paste the content of the page you want to restore.

First, you will need to download your WordPress backup files to your computer. Just go to the WordPress database backup plug-in page and you can see recent backups.

For example, here’s how you’ll see your recent backups listed on UpdraftPlus.

Just click on the database backup to download it to your computer
Just click on the database backup to download it to your computer

Don’t forget to click on the ‘Save Changes’ key to store your settings.

For example, here’s how you’ll see your recent backups listed on UpdraftPlus.

You can now login to your localhost installation and you will see all of your old pages listed under Pages »all pages.

Go straight to the point and edit the page you want to restore. All you need to do is copy the content and paste it on your active WordPress website as a new page.

Don’t forget to update or post changes to your active site.

We hope this article has helped you learn how to recover deleted pages on WordPress. You may also want to see our complete WordPress security guide to keep your WordPress site safe and secure, and our list of mandatory WordPress plug-ins for all sites.

Total
0
Shares
Leave a Reply