Skip to main content

Retrieving The PostID, To Recover A Deleted Post

One of the challenges of using the Blogger dashboard "Posts" menu is the too easy ability to delete posts - if you are not thinking about what you're doing.

Fortunately, under the right circumstances, accidental deletion of a single post won't cause a terrible catastrophe - though you (the blog owner) will need to react properly.

There are several techniques to recreate or recover a post, after it's accidentally deleted from your blog.

You have to be careful, to recover the contents, published to the same URL as before.
  • Recover from the blog feed, using scraped text.
  • Recover from search engine cache, using scraped text.
  • Recover from the blog feed, using the PostID.
  • Recover from search engine cache, using the PostID.
The PostID, similar to the BlogID, is a non publicised identifier, which is attached to a post, when it's published to the host blog.

If you delete a post that's been cached by the search engines, you can retrieve the PostID from the cached content. Combining the BlogID and the PostID, you can directly access the Post editor display for the post itself, and re publish the post.

First, retrieve the BlogID. Next, do the same with the PostID.

The previous post in this subject, Recovering A Deleted Post, was cached by the search engines some time ago. Doing a search engine cache search, I can find a cached copy of that post.

Looking at the source code for that page, as cached, I look for (some line breaks inserted, here)
<div class='post hentry'>
<a name='8899607620317019913'></a>
<h3 class='post-title entry-title'>
<a href='http://blogging.nitecruzr.net/2012/01/recovering-deleted-post.html'>
Recovering A Deleted Post</a>
</h3>

There's the PostID
8899607620317019913

Adding the PostID and the BlogID, I can now access the post editor, as
https://www.blogger.com/blogger.g?blogID=24069595#editor/target=post;postID=8899607620317019913;

From there, I simply
Publish Post
or
Publish
or
Save
or
Update
depending upon what the Post Editor offers -
and my post, with all content and with the original URL, comes right back online.

If you have this problem, just do the same with your blog and page / post - and (hoping that your blog is cached) you should get similar results.

If the blog content is not cached, you may be able to retrieve the PostID from the blog feed.

I'll note that the post editor session, for a given blog, can only be used by a blog author or owner - this is not a security risk. Try editing my post, using the URL above, if you don't believe me.

>> Top

Comments

Unknown said…
Thank you so much for posting this! I just retrieved 2 accidentally deleted posts with this. Thanks so much! Very helpful!
acc521 said…
Absolute lifesaver. Thank you sooooooooooooooo much!
Dani said…
I'm also very grateful for this post. It helped so much :) Thanks!
Brandonshire said…
Sadly I get an error whenever I try to hit publish or save.
Nitecruzr said…
Stephen,

Verify the URL in general - then verify both the BlogID and the PostID. If no solution, post in the forum so we can figure out what the problem might be.
Unknown said…
This has been really helpful. Most bloggers tend to have the same issue and can't find a solution around it. I'll surely add this post as my reference for those who still needs help on this matter.

Cheers,
Sean Rasmussen
Otavio Neto said…
FANTASTIC!!

Your blog just saved me 6 months of work, sweat and inspiration!

tks A LOT!
Unknown said…
Thank you very much, using your information I have just been able to retrieve a published post that deleted when I deleted an older copy of a draft from a different device. Another very grateful blogger !
This is so very confusing and I'm getting extremely frustrated with it. I have my Blogger ID. I can't find or get the deleted Page ID from the cache. And how do I get it back into my published pages?
Nitecruzr said…
Chiharu,

Please post in Blogger Help Forum: Get Help with an Issue, so we can explore this in depth.
Faramallera said…
If I give you the link of the post that I deleted, do you think you can help me? I've been trying for that past 2 hours to recover a post, but whether I don't know how or it actually can't be retrieved... could you help me? the link to the post was: http://missnomelacalo.blogspot.com/2016/05/los-jasper-y-las-gordas.html?spref=fb
Nitecruzr said…
Hi Kayla,

Thanks for the attempt.

Let's try this URL.

http://www.blogger.com/feeds/7440288457062393912/posts/default/2826621541148424232

See if you can do anything, when logged in properly as the blog owner, when you click on the URL:

https://www.blogger.com/blogger.g?blogID=7440288457062393912#editor/target=post;postID=2826621541148424232

Popular posts from this blog

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.

Embedded Comments And Main Page View

The option to display comments, embedded below the post, was made a blog option relatively recently. This was a long requested feature - and many bloggers added it to their blogs, as soon as the option was presented to us. Some blog owners like this feature so much, that they request it to be visible when the blog is opened, in main page view. I would like all comments, and the comment form, to be shown underneath the relevant post, automatically, for everyone to read without clicking on the number of comments link. And this is not how embedded comments work.

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".