Home Tech How to Recover and Restore WordPress Deleted Pages
restore wordpress deleted pages

How to Recover and Restore WordPress Deleted Pages

by Gloria Louden
46 views

So you have written killer content for your WordPress blog, and it is performing well on search engine results. However, you or another administrator accidentally deleted that page – losing all of your efforts.

In another case, you might have multiple pages with the same title, and you mistakenly deleted the one you actually need. Regardless of the situation, losing important web pages on your website is not a pleasant experience.

Fortunately, there are several methods to recover your deleted content. I will explain five different ways to do so, from checking the Trash folder to restoring a WordPress backup.

Let’s begin.

Method 1: Recover from Trash in WordPress

WordPress has a built-in Trash folder that stores recently deleted files for up to 30 days – unless those files are manually deleted from the folder. With that in mind, you can always check the folder and restore your pages within that period.

To do so, access your WordPress admin dashboard and navigate to Pages -> All Pages. From there, you will see the Trash tab – simply click to see all deleted pages. Next, choose the page you want to recover, and click the Restore button.

WordPress

Additionally, you can restore multiple pages by checking the boxes and clicking Restore from the Bulk Actions menu.

WordPressNow go back to Pages -> All Pages, and you should see your restored pages on the list.

Method 2: Get Help from Your Hosting Company

If you’re not comfortable tweaking settings in your WordPress dashboard, it’s best to reach out to your WordPress web hosting provider and ask for assistance.

Hosting providers usually offer an automated scheduled backup to minimize the risk of losing sensitive data and information.

Although every web host works differently, they usually store backup data for up to 14 days. Some web hosts even provide multiple backup recovery options – allowing users to retrieve data from a specific date.

After the backup restoration is complete, all of the changes you made after the backup date will be reverted. Hence, restoring the pages you have removed unintentionally.

Method 3: Using a Plugin

Another way to restore deleted content is by using a backup plugin. As long as you have the most recent backup in hand, WordPress backup plugins can help you restore any deleted pages.

In addition to restoring deleted pages, a backup plugin can recover a website back to its stable state with only a few clicks. Moreover, a plugin allows you to generate backups as frequently as you need – giving you extra peace of mind.

There are various backup plugins available, with UpdraftPlus and VaultPress being the most popular ones. Wait no more and install a reliable backup plugin of your choice to prevent losing your site because of technical issues, security breaches, or malware attacks.

Method 4: Recover Deleted WooCommerce Pages

WooCommerce is a plugin that adds eCommerce functionality to a WordPress website. Upon installing WooCommerce on your site, it automatically generates pages for the checkout, cart, and account management – all of which are essential elements of your online store.

That said, some errors might occur during the installation process, preventing the system from installing specific pages. If this happens, go to your admin dashboard and open WooCommerce -> Status -> Tools.

WordPress

Click on the Create Pages button, and the system will automatically replace all missing pages.

Alternatively, you can manually create a new page and assign it to WooCommerce. For instance, if you need a Checkout page, simply go to Pages -> Add New, and create a blank page named “Checkout.”

WordPress

Be sure to click Publish when you’re done. Next, go to WooCommerce -> Settings -> Advanced.

WordPress

From there, specify which page you want WooCommerce to use as the Checkout page by clicking on the dropdown menu.

Method 5: Recover from Database Backup

This last method has more advanced steps and might not be suitable for beginners. It requires you to upload your database backup file and set up a local server environment using WAMP or MAMP.

Follow the steps below to import your database backup via phpMyAdmin:

1. Access phpMyAdmin from your local server using this URL: http://localhost/phpmyadmin/.

2. Select your current WordPress database and click the Import button.

3. From there, choose the database backup file you want to restore.

WordPress

4. A success message will appear once the file has been imported.

Once you have uploaded your database backup, the next step is to update your WordPress siteurl and home. Do this by clicking on the database name and choose the wp_options table.

WordPress

It will open a list of database tables on your WordPress site – locate the siteurl and home tables and change the option_value to match your local server. Finally, click the Go button to save all changes.

Once you have successfully gone through the steps above, you can now log in to your local WordPress installation.

You should be able to see a list of your old pages – simply edit the one you want to restore, copy its content, and paste it on your live WordPress website as a new page.

Conclusion

To summarize, here are the five effective ways to restore your deleted WordPress pages:

1. Recover from Trash in WordPress – check the Trash folder and recover your deleted page before it expires.

2. Get help from your hosting company – contact your web hosting provider and get help to restore your site from a backup.

3. Using a plugin – use a backup plugin to restore the pages deleted.

4. Recover deleted WooCommerce pages – replace the missing page by manually creating a new page and assigning it to WooCommerce.

5. Recover from database backup – set up a local server and upload your database backup via phpMyAdmin.

Choose one method, carefully follow the instructions, and the deleted pages will be back on your website.

That said, if you’re not comfortable with modifying settings in your WordPress site, it’s highly recommended to seek further assistance from your web host. Most importantly, always make sure to regularly back up your site to prevent losing any essential elements.

You may also like