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.
Unknown 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

What's The URL Of My Blog?

We see the plea for help, periodicallyI 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?".

Leave Comments Here

Like any blogger, I appreciate polite comments, when they are relevant to the blog, and posted to the relevant article in the right blog. If you want to ask me a question thats relevant to blogging, but you can't find the right post to start with (I haven't written about everything blogger related, yet, nor the way things are going I don't expect to either), ask your questions here, or leave an entry in my guestbook.

As noted above, please note my commenting policy. If you post a comment to this post, I will probably treat it as a "Contact Me" post. If you have an issue that's relevant to any technical issue in the blog, please leave a comment on the specific post, not here. This post is for general comments, and for non posted contact to me.

If the form below does not work for you, check your third party cookies setting!

For actual technical issues, note that peer support in Blogger Help Forum: Something Is Broken, or Nitecruzr Dot Net - Blogging is, almos…

What Is "ghs.google.com" vs. "ghs.googlehosted.com"?

With Google Domains registered custom domains becoming more normal, we are seeing one odd attention to detail, expressed as confusion in Blogger Help Forum: Learn More About Blogger.My website uses "ghs.google.com" - am I supposed to use "ghs.googlehosted.com", instead?It's good to be attentive to detail, particularly with custom domain publishing. This is one detail that may not require immediate attention, however.