When one or more posts or pages from your WordPress site got deleted you would like to restore deleted WordPress posts as soon as possible.
WordPress posts or pages may get deleted by accident or some error. Imagine you have been working for hours writing content and all your hard work disappears in seconds. Nobody likes that feeling.
Reasons may vary. It may be your own fault or even something you can’t control. First, you need to take a deep breath as there is solution. Check out down below tips and hope one of them will help.
How to Restore Deleted WordPress Posts
Here are few methods you can use to restore your deleted posts:
METHOD 1: Restore deleted WordPress posts from trash
If you deleted post by accident, check trash. Maybe post is still there. J
METHOD 2: Restore deleted WordPress posts from Google cache
This method saved me more times that I would want. If Google Indexed your deleted post you can restore it from Google cache. Search for your post by title “site:sitename.com: post title”.
Once you find the result move your mouse cursor to the right side. There you should see small arrow pointing down. Click on it and “Cached” should appear. Click on ‘Cached’ and you will find your deleted post.
METHOD 3: Restore deleted WordPress post using Way Back Machine
This method is not for new posts or pages. In order to Restore deleted WordPress posts or pages from Way Back Machine they need to be published long enough to be archived by Archive.org.
Just visit the site Way Back Machine. Enter your site and click on “Browse History.” After submitting your site, you will find a results page. Find your post by selecting date. You can also submit your site pages to be in archive.
METHOD 4: Restore deleted WordPress posts using Feed Burner
You may get full or a part of your blog post from feed burner. It depends on whether you have set your blog feed full or short. If you have set blog feed to full, you will be able to restore your full post with images.
If you subscribed to your Feedburner newsletter, then you can find posts in your inbox.
METHOD 5: Restore WordPress posts using phpMyAdmin
You can also restore deleted WordPress posts using phpMyAdmin. Many web hosting packages include an installation of phpMyAdmin that you can use to manage your databases.
phpMyAdmin makes tasks common tasks like creating tables, inserting and deleting rows, and most importantly, backing up and restoring your databases.
Launch the phpMyAdmin, find the table relating to posts and click on it. If your site has a large number of posts you may want to increase the amount of rows that you’re looking at, originally this is set to 300.
Browse down to your missing post, you will see that there are various revisions available. Choose the correct date and then click on the pencil (edit).
Now you can see the original content of the missing post. Simply copy the content over to your site.
Restoring Deleted WordPress Posts Summary
Those are most common methods to restore deleted content, pages and posts on your WordPress website. If you have any other methods please let me know in comments below. You could help other WordPress users.
And if you want to reset entire WordPress site by deleting everything or keeping some things but deleting all others check my post on how to reset WordPress website.
DISCLOSURE: My posts may contain affiliate links. If you buy something through one of those links, I might get a small commission, without any extra cost to you. Read more about it here.